A work colleague who runs Tobago Retreats asked me to create a gallery badge that automatically shows her latest flickr photos in her gallery and I started another flickr badge from scratch.
The outcome looks like this:
All you have to provide is a link to the flickr stream or the tagged images in your stream as a text link with a DIV with the class “flickrbadge” around it.
The script is a single include and loads the style sheet and the YUI help files on demand when they are needed. Visitors can see your photos on the page and click the thumbnails to see the larger preview. You can style the badge any way you like by changing the supplied CSS file.
The script is licensed Creative Commons attribution and is free for use.
If there is interest in a step by step explanation how it works, retrieves the YUI files and the flickr data, I can write something up, but for the moment I’ll be happy about feedback on the script as it is.
Here you can download a script to add a flickr badge like the following to any HTML document or blog with some HTML and a JavaScript include. The following badge is added to the document using this code:
Demo: http://www.bernardopadua.com/nestedSortables/test/nested_sortable/
Download: http://icant.co.uk/sandbox/flickrbadgev2/flickrbadgev2.zip
Source: http://www.wait-till-i.com/2007/09/10/new-unobtrusive-dynamic-flickr-badge/

Related Listings:
No comments yet.
RSS feed for comments on this post. TrackBack URL