Gallery template updates