Click on a photo to view the selected gallery