Create gallery.tpl