render_galelry() renamed to render_gallery_for()