Updates to Gallery template and chunks to get it working the way I want.