added code for getting flickr urls