A flickr badge for Astronomy Photographer of the Year

After a discussion at work about promoting Astronomy Photographer of the Year, I had a look at Chris Heilmann’s unobtrusive flickr badge and hacked it very slightly to display the latest favourites from the competition.

View the Astronomy Photographer of the Year group on flickr.

If you would like to add a badge to your own pages, you will need the CSS file fjb.css and the slightly modified script fjb.js. Chris gives instructions for using the badge.The only change I’ve made is to add a parameter, feedUrl, to the settings at the beginning, which contains the full URL of the flickr feed that you want to display. If you want to change this to a different feed, remember you want the JSON feed, not RSS, so make sure the feed URL ends in format=json.