photos and create a page-gallery template