LiteBox meets Flickr: LiteBoxFlickrAlbum
Yesterday I got a link on my news aggregator pointing to a
new article by
Sam Judson on
Coding4Fun, which talks about a .NET version of the API for the
Flickr services.
A nice idea immediately came to my mind, why not extending the
LiteBoxAlbum control to display photos retrieved via Flickr? This way I can have a LiteBox-like photo album which displays photos got from Flickr without writing a single line of code and by setting only a couple of properties, in order to tell the control which photos to look for.
So I wrote a new control derived from
LiteBoxAlbum and called
LiteBoxFlickrAlbum. They differ in that while the former displays photos placed in the same folder as the page in which the control is added, the other looks for photos on Flickr. It exposes some new properties which are pretty self-descriptive. The only thing to notice is that Flickr lets you use the service only via a Flickr API Key, which it uses for tracking purposes. You'll need to get one in order to use the control, and you can do it at
this url. Once you have one, you can take a look at the screencast I recorded.
Watch the
screencast!
Source available on the
SVN repository (quickstart
here) and binary available along with my
Script.Aculo.Us.Net library (bottom of the post).