geneate the gallery scaffold