update docs for gallery.tmpl