render_gallery() renamed to render_gallery_for()