Monday, October 15th, 2007
Over the weekend Shane O’Sullivan released version 1.0 of Dojo Image Widgets, a set of Dojo widgets that allows easy creation of image galleries from Flickr.
One of the coolest features of all of these widgets is that they all feed off image data provided by the dojo.data API. What this basically means is that each widget can display images from any source, with no modification whatsoever. You simply pass it a Dojo data store, and is shows the pictures. Some of the data stores currently in the Dojo toolkit include:
- dojo.data.ItemFileReadStore – pull in simple JSON data in an array. You could use this if you simply have a directory of images on your own web server you would like to display
- dojox.data.FlickrRestStore (demo) – query the Flickr photo sharing website for images. This is all done on the browser, with no need for any server-side redirects. This is another of my additions to the Dojo toolkit – I love Flickr, feel free to check out my photo stream here.
- dojox.data.PicasaStore (demo) – query Googleâ€™s Picasa image sharing website for images. As with the Flickr data store, this is done on the browser, with no need for server side support.
and many moreâ€¦.. You can also write your own data store if you so desire, but the ones included in the toolkit should cover almost everything you might need.
Some of the features included are:
- Pages of thumbnails.
- Intelligent pre-loading of images so the images you are looking at are loaded first.
- Fade effects for transitioning of images
- Populated using JSON data – any JSON data, not just Flickr.
- Flickr integration – remotely load your Flickr images.
- Paging through a Flickr collection.
You can read the full release notes and see demos at Sean’s site.
Posted by Rey Bango at 7:30 am