adding a custom photogallery to load flickr photos