render gallery to yield