click on a photo to view an image gallery