flickr api + pinterest-like layout