Code for Church's gallery page on website