now writing out the gallery as gallery.html