the gallery html is now generated from build_gallery, no more manual editting