« Previous - - Next »

Flickr slideshow plugin for wordpress (μ)

1 July 2007

Since “object” and “iframe” are stripped out of wordpress-μ for security reasons, I could no longer embed flickr slideshows using either iframe or object. Therefore, I was looking for someway to embed my photo collection at flickr, but the plugins I found didn’t exactly do what I needed. Therefore, I modified the slideshare plugin to embed flickr slideshows.

  1. Download the plugin (.zip) here (uses object tag). Note that object tag has some problems with ie7. Since iframe seems to work better on both firefox and ie, download the plugin (.zip) here (uses iframe tag; recommended, see below). See it in action here.
  2. Unzip/install the plugin in your wp-content/plugins directory
  3. Activate the plugin within wordpress.
  4. Usage:Once activated you can embed slideshows in your blog post as follows:
    [flickr user_id set_id]

Please feel free to modify the plugin to include tags, and other parameters of flickr slideshow. If you do modify the plugin, I would really appreciate if you would inform me of the updates (so that I can use the updated plugin).

In case you are curious, I tried the following two plugins:

Update: It seems that the object tag gives problem with internet explorer (ie7). Here is a work around plugin that uses iframe instead of object. Thanks gifted typist!

Posted in Interesting Finds | Trackback | del.icio.us | Top Of Page

    14 Responses to “Flickr slideshow plugin for wordpress (μ)”

  1. meish dot org » Girl next door Says:

    […] of them are on my flickr photostream - see the set slideshow below (via the magic of this excellent wordpress plugin) or on […]

  2. Gifted Typist Says:

    Can you provide exact instructions on exactly how you embed the “flickr user_id set_id” code the blog, ie in which part of the blog?

    I have activated the plug-in successfully don’t know how to move forward from here.

  3. Kumara Sastry Says:

    @Gifted Typist, you can add [flickr user_id set_id] anywhere in your blog post. For example, consider my blog post: http://www.illigal.uiuc.edu/web/kumara/2007/07/14/gecco-2007london-photos/

    I entered the following in the blog post:

    [flickr 89044848@N00 72157600770450400]

    See the slideshow at Flickr.com

    where 89044848@N00 is my user_id and 72157600770450400 is the set_id. In case you don’t know what your user_id is, you can find it out from http://www.idgettr.com.

  4. Infovore » links for 2007-07-18 Says:

    […] Kumara Sastry » Blog Archives » Flickr slideshow plugin for wordpress (μ) Plugin for Wordpress to embed slideshows of your Flickr sets. (tags: flickr plugin wordpress) […]

  5. Spiders ‘n webs at Gifted Typist Says:

    […] Some of the original GT lurkers might recall one or two of these shots from many moons ago on the old Blogspot. I’m giving them a test run here to try out my new Flickr plugin for Wordpress. […]

  6. Gifted Typist Says:

    thanks again for the help. IT’s a fantastic plug-in.

  7. Gifted Typist Says:

    Hmmm. My visitors are telling me it doesn’t work in Explorer. Is there something I can do?

  8. Kumara Sastry Says:

    It seems object tag has problems with ie7. Sometimes it works and sometimes it doesn’t. I’ve now replaced the object tag with iframe tag which seems to work both with firefox and ie7 and ie6. You can download the iframe-based slideshow plugin here.

    Alternatively, you can edit flickSlideShow.php and change object to iframe (of course, with appropriate changes).

  9. GT commentators discover bug in plugin at Gifted Typist Says:

    […] informed me that the plugin didn’t work in Explorer. I got in touch with the developer and within hours he had a […]

  10. Gifted Typist Says:

    It works now. Thanks again for your quick response to this.

  11. Julie Says:

    I have tried both plugins, and found that the object plugin works fine on Firefox 2.0 but not at all on IE 6.0, and the iframe-based plugin functions on both but only includes 2 of the 10 images in my Flickr set (all 10 show up in the slideshow on Firefox). Anyone else come across this and/or have a fix?

  12. Julie Says:

    Well, now I have just found out that all 10 show up on my Firefox 2.0.05, but not others’ exact same version. ???

  13. Kumara Sastry Says:

    I couldn’t reproduce this issue (Firefox showing only some of the photos in the photoset). I had firefox 2.0 when I first started using the plugin, and have since upgraded to 2.0.05. I also don’t get any problems with IE 6.0 and IE 7.

  14. Kumara Sastry Says:

    Julie, I just checked your website (http://www.shebazzle.com/) and see that you embedded set 72157600951749206. From your flickr page I see that the set 72157600951749206 (2007 Ethnic Arts Festival) has only 2 photos. So the correct behavior is that it should show only 2 photos and thats what I see. I also checked with ie6 and ie7 and I see 2 photos which is the correct behavior.

Leave a Reply