implemented photogallery