using data to populate gallery with flickr pictures