New unobtrusive dynamic flickr badge

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:

The new dynamic flickr badge

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.

It does not work in Opera at the moment and I have a bug request with them running.

Check out the script and download it on its homepage: dynamic JavaScript flickr badge v2

Image hosted on flickr.

42 Responses to “New unobtrusive dynamic flickr badge”

  1. Flickr badge v2 : Galería de imágenes con tus fotos de flickr | CalinSoft Says:

    [...] Ayer xyberneticos nos recomendo una galería dinámica en JavaScript “Flickr badge v2 ” que nos permitirá incluir las ultimas imágenes almacenadas e [...]

  2. lost node » Blog Archive » Best of September 2007 Says:

    [...] ent mouse interactions, namely drag and dropping, sorting, selecting, and resizing. New unobtrusive dynamic flickr badgeA compact Flickr-Badge for presentation of Flickr-images with a na [...]

  3. Best of September 2007 | Best of the Month Says:

    [...] ent mouse interactions, namely drag and dropping, sorting, selecting, and resizing. New unobtrusive dynamic flickr badgeA compact Flickr-Badge for presentation of Flickr-images with a na [...]

  4. Der kleine Wochenrückblick KW38 at trilodge computin blog Says:

    [...] Das Nachbarblog ist euch ein Dorn im Auge? Einfach mal abmahnrn! “New unobstrusive dynamic flickr badge“. Sehr schicke Angelegenheit! Die Photoshop Familie bekomm [...]

  5. All in a days work… Says:

    [...] hoto Slider Yeah it works, but there were a ton of errors too. (tags: jQuery Slideshows) New unobtrusive dynamic flickr badge Nice, if he had included type=”text/javascript” for h [...]

  6. BillyG Says:

    Her pics looked great, reminded me of Jamaica last year :-)

    I think that if you give the JS call a type=”text/javascript”, you’ll be golden!

    Nice work.

  7. Chris Heilmann Says:

    Ah, but there is a misconception. The text/javascript attribute is actually not really needed, as ever since NS2.0 JS was the only language running in browsers!

  8. Jesper Wøldiche Says:

    I’m not certain what keeps amazing me the most. Yours (and others) skills or your willingness to share.

  9. Jesper Wøldiche Says:

    Is there an easy-ish way to change the number of thumbnails being shown? Honestly, your ‘evil, dark magic’ was to powerfull for me to decode.

    (sorry for double commenting)

  10. Chris Heilmann Says:

    @Jesper alas, not yet. I hard-coded the amount of photos to 5 a piece with 4 lists, as the JSON API only returns 20 photos at a time. Personally I hate having to click through feeds photo by photo. Maybe in a next version :)

  11. Rob Mason Says:

    This is good stuff. Any chance of a Wordpress plugin for this?

  12. Arjan Eising Says:

    Maybe a nice addition to this great job. Translating the little text that’s used; read out the language attribute of the element/document and display the translated version…

  13. chris ash Says:

    Hi there,

    i love this little flickr widget you created. Is there any way to display more than 5 images. That would be great.

    pls let me kno

    Cheers

  14. Stephen Blake Says:

    Hi Chris

    I really like this badge that you have created, but would like to know if it’s possible to increase the size of the images in the badge?

    Thanks
    Stephen

  15. ??? » 2007?9??? Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  16. New Flickr feed - Sponge Project » website creators :: Blog :: Says:

    [...] to Chris Heilmann for the [...]

  17. Andy Wise Says:

    Great tool … thanks.
    Is there any way to select a collection rather than a tag – I have my photos organised in collections with different tags that cross multiple collections.
    thanks
    Andy

  18. Arasmus Says:

    Christian,

    After hours of searching, this badge is exactly what I want to fill in the gap left by the absence of album thumbnails for sets in Flickr. But when I cut and paste the code into my website – nothing happens. First thought is that I am doing something wrong. I am just cutting and pasting the code below into an html page:

    My latest photos
    on flickr

    Any thoughts?

    Arasmus

  19. 60 More AJAX- and Javascript Solutions For Professional Coding | Developer's Toolbox | Smashing Magazine Says:

    [...] New unobtrusive dynamic flickr badgeA compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  20. 60 More AJAX- and Javascript Solutions For Professional Coding | Developer's Toolbox | Smashing Magazine Says:

    [...] New unobtrusive dynamic flickr badgeA compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  21. 60 solutions en AJAX - BLoOgLe Says:

    [...] Pour des diaporamas de Photos attrayants iCarousel et Carousel, voir aussi Mini Showcase … dans le même genre y a aussi Product Slider qui reproduit le menu des produits du site Apple et, toujours d’inspiration Apple, qGallery affiche des images à la manière d’iPhoto ou encore un badge Flickr dynamique, [...]

  22. 60 ???????????????? AJAX ? JavaScript ??????? Says:

    [...] New unobtrusive dynamic flickr badge ??????? ?????? ??? ????????????? ??????????. [...]

  23. Profesyonel Ajax ve Javascript’ler » Serhat Yolaçan Says:

    [...] New unobtrusive dynamic flickr badge [...]

  24. AJAX and Javascript Solutions For Professional Coding - The Arts Lab TurkeY Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  25. Profesyonel Ajax ve Javascript’ler « kamer) Says:

    [...] New unobtrusive dynamic flickr badge [...]

  26. 60 More AJAX- and Javascript Solutions For Professional Coding | Web Tools | Web Design & Graphic Design Blog Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  27. Blox.Svbasi · 60 More AJAX- and Javascript Solutions For Professional Coding Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  28. C Young Says:

    Fantastic piece of coding, works very well.

    Was wondering how to display a set from the url in the html ?

    Cheers

    IL

  29. Some Ajax tutorials « The Brook Song - ?????? ??? Says:

    [...] 116. New unobtrusive dynamic flickr badge [...]

  30. webgunlukleri.com » Blog Archive » Profesyonel Ajax ve Javascript’ler Says:

    [...] New unobtrusive dynamic flickr badge [...]

  31. Dainis Graveris Says:

    nice output here – simple and easy to use :)

  32. pligg.com Says:

    Wait till I come! » Blog Archive » New unobtrusive dynamic flickr badge…

    New unobtrusive dynamic flickr badge

    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…

  33. 60 More AJAX- and Javascript Solutions For Professional Coding « Where LOVE begins Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  34. 60 More AJAX- and Javascript Solutions For Professional Coding | Evolution : weblog Says:

    [...] New unobtrusive dynamic flickr badge A compact Flickr-Badge for presentation of Flickr-images with a navigation option. [...]

  35. Ragnar Says:

    Do you know a possibility to display the title of the photo above each image?

  36. Dynamic flickr badge Says:

    [...] click here to see the complete example [...]

  37. Rob Says:

    can this work with a flickr group? It works great with my flickr page but I tried it with a group I’m an administrator of and the images wouldn’t show?

    Thanks

  38. striatic Says:

    also requesting a version that would work with a flickr group.

    would really appreciate this capability.

  39. Erin Says:

    Thank you so very much for sharing this awesome piece of coding with the world.

  40. Elise Says:

    Wondering if there is a way to display a set of photos instead of my photostream?
    Thanks much!

  41. Profesyonel Geni? Kapsaml? Ajax ve Javascript’ler MG - MG Blog Says:

    [...] New unobtrusive dynamic flickr badge [...]

  42. Ashley Says:

    Holy cow! Awesome!!
    Thanks so much. Will definitely be picking this up

Leave a Reply

Wait till I come! is the blog of Christian Heilmann , a developer evangelist living and working in London, England. Download vcard.

Feed me, Seymour: Entries (RSS) and Comments (RSS).