generating summary page of smiles in galleries