www.rutgerblom.com

A Photoblog

WordPress Plugins: Make FlickrRSS and Lightbox 2 Work Together

3468613195 effaaed412 m d WordPress Plugins: Make FlickrRSS and Lightbox 2 Work Together

FlickrRSS and Lightbox 2 are two great WordPress plugins. FlickrRSS as the name implies, fetches photos from a Flickr photostream via RSS and displays these on your blog. Lightbox is a very well known plugin that allows you to present images in a slick window.

I wanted to know how to display FlickrRSS photos in a Lightbox window. I couldn’t find very much information about this on the web, but after reading some related articles plus the Lightbox and FlickrRSS documentation I figured it out myself and it is VERY easy. Let me share it with you:

  1. Log in to your WordPress blog and go to the FlickrRSS settings (Settings > flickrRSS)
  2. Replace the existing HTML code in the Item HTML box with this: <a href="%image_medium%" rel="lightbox[serie]" title="%title%"><img src="%image_square%" alt="%title%" /></a>
  3. Done!

Instead of linking to the photo page on Flickr (%flickr_page%) you are now linking directly to the medium sized image on Flickr (%image_medium%). This direct link is required to trigger Lightbox. The code rel="lightbox is making Lightbox open the image. The optional group name [serie] (can be called whatever you like) groups the images FlickrRSS displays and makes Lightbox 2 behave like a slideshow player.

As you see it’s very easy to make images displayed by FlickrRSS pop up in a Lightbox window when clicked on.

There is one thing you should be aware of before you configure FlickrRSS this way: You are not following Flickr’s community guidelines! The guidelines specify that if you post a Flickr photo on an external website, the photo must link back to its photo page. Please keep that in mind.

Related Posts

10 Essential WordPress Plugins October Photos Updated Photo Gallery (again)
  • April 23rd, 2009
  • Posted in Articles
  • Tagged flickr, flickrRSS, lightbox 2, Plugins, slideshow, wordpress

10 Responses to “WordPress Plugins: Make FlickrRSS and Lightbox 2 Work Together”

  • rutgerblom says:
    April 23, 2009 at 11:03 pm

    http://bit.ly/Iq8tW New blog post: Make FlickrRSS and Lightbox 2 Work Together

    This comment was originally posted on Twitter

    Reply
  • bindermichi says:
    April 24, 2009 at 10:48 am

    Make FlickrRSS and Lightbox 2 Work Together http://ff.im/-2kv0x

    This comment was originally posted on Twitter

    Reply
  • bindermichi says:
    April 24, 2009 at 10:55 am

    Make FlickrRSS and Lightbox 2 Work Together | rutgerblom.com http://ff.im/-2kvq2

    This comment was originally posted on Twitter

    Reply
  • WordPress Plugins: Make FlickrRSS and Lightbox 2 Work Together … | WOPRESS CMS DEMO says:
    April 25, 2009 at 2:59 am

    [...] the original here: WordPress Plugins: Make FlickrRSS and Lightbox 2 Work Together … « SEO and Branding: Who Are You Impressing? How to SEO your Wordpress blog content | [...]

    Reply
  • Håkan Dahlström says:
    April 25, 2009 at 5:04 am

    Nice hack. Thanks.

    This comment was originally posted on FriendFeed

    Reply
  • Stina Bjurström says:
    April 27, 2009 at 3:57 pm

    Måste testa! Väldigt bra artikel!

    Stina Bjurström’s last blog post..Pick of the week nr 9 från Flickr-gruppen Mer än tusen ord

    Reply
  • geertr says:
    May 4, 2009 at 2:08 pm

    when you use this tip in both a widget and a post, lightbox combines both in his slideshow

    is there no way to replace [serie] with for instance the blog post title?

    Reply
  • Rutger Blom says:
    May 4, 2009 at 2:41 pm

    Hi and thanks for stopping by on my site.
    Absolutely! The word [serie] can be changed to anything you want.
    You probably want to use another name for every batch of photos you want to group togehter in a slideshow.

    Reply
  • geertr says:
    May 4, 2009 at 7:20 pm

    but since the code is reused by every time every change results in another set containing all files on the page (post and widget combined)

    i tried
    <a href=”%image_medium%” title=”%title%” rel=”lightbox[]“>
    but this results in
    “]”>
    after every image

    so i’m lookin for a post-related tag that i can integrate in the html-code

    Reply
  • Rutger Blom says:
    May 4, 2009 at 7:52 pm

    Ok, now I understand. I think you can achieve that, but you probably have to hard code it into the plugin’s php using meta tags.

    Reply
  • Leave a Reply

    Click here to cancel reply.

  • Search My Photoblog

  • Pages

    • About
    • Photo Gallery
    • Photo Map
    • Contact
    • Copyright
    • Search
  • Subscribe

     Subscribe in a reader

  • Enter your email address:

    Delivered by FeedBurner

  • My Other Sites

    • Mobile Rutger Blom
    • My Digital Business Card
    • My Tech World
    • Today's Photo
  • Get In Touch

  • coolphotoblogs my profile Fotobloggar photoblog-community VFXY Photos View My Portfolio
  • Interesting Blogs

    • .:icedsoul photography
    • Bimal Tailor
    • Blickwechsel Photography
    • brisedemer
    • dahlstroms.com
    • Edward Barnieh Photography
    • Erik Söderström
    • hepp.se | Erik Forsberg
    • holgr.com
    • Ilan Bresler Photography
    • Jeremy Brooks
    • Justin Korn [dot] com
    • Juza Nature Photography
    • m i c k e s
    • Maciek Sokulski Photography
    • Nina Xi
    • Peter Györffy photography
    • Phill Price Photography
    • Raven Photography
    • Roger Madsen Photography
    • schlijper.nl
    • Stuck in Customs
    • The ShutterBugGeek
    • Thomas Hawk Digital Connection
    • Valerie Ardini
    • Xtraboy's Photoblog
    • zullie

Zack 990 by Joshua Weinberg and Mignolo § Powered by WordPress