Flickr Gallery 1.4.0

I’ve just tagged a release for Flickr Gallery 1.4.0.  In addition to several bug fixes for WordPress 3.0, it brings an oft-requested feature. There is now an option (off by default) to load larger than medium photos in the lightbox.  I have turned it off by default because it requires an extra call to the API which slows down the lightbox slightly.  The lightbox checks with Flickr to find all of the available sizes and then shows the largest one that will fit on the user’s screen.

49 Comments

  • Dave C says:

    Great plugin and thanks for the update to 1.4 – I would like to use Collections, is there a way to make the Collections act like Sets and not be redirected to Flickr?

    • Dan Coulter says:

      Dave,

      The problem with collections is that you can have collections inside collections. That makes it kind of messy for trying to browse within something like the Flickr Gallery output. That doesn’t mean I won’t ever support it, I just haven’t put a whole lot of thought into it yet.

  • Matt says:

    Flickr Gallery 1.4.0 works perfectly in WP 3.0. Thanks for the update and this terrific plug-in. I’ve made a small donation via PayPal for your efforts on this. Just a couple of bucks to show my appreciation.

  • Hendo says:

    Hi Dan – I’m trying to remove the tabs from the display area where it says “Photostream” “Photosets” and “Interesting” but the php functions seem to be missing from your project page. Can you please help. Thanks -

  • decko says:

    Hi Dan! First, thanks for this wonderful plugin.
    There’s any easy way to change the style of the gallery, without touching the css plugin files?
    Thanks man!

  • Andrei Gonzales says:

    Hi Dan, epic plugin.

    One quick question: is there a way to tell the plugin to behave in ultra-basic mode? E.g. without any paginations or loading css or jquery files? I’d like to play with the raw HTML it generates. :)

  • Andrei Gonzales says:

    Oh, one thing I found: when you use the pagination=”0″, it doesn’t load the rest of the images from the next pages. It only shows the images from the first page, and that’s it.

  • Andrei Gonzales says:

    Ah, figured out the last one. Pagination directly relates to the number stated in the “Number of Photos to Display” field, but setting it at none throws an error. I just entered 9999 instead and everything worked. :)

    • Dan Coulter says:

      One thing to keep in mind… loading more than 30 images that are hosted on Flickr at the same time is a violation of their TOS and could get your API key revoked or any requests from your site blocked.

  • Andrei Gonzales says:

    Re: Flickr. Hmmm. I see. Looks like pagination is the way then.

    One little cool thing I thought I’d mention: I had a little fun with the photosets shortcode, and combined it with WP’s custom fields and do_shortcode() function, allowing the Flickr Gallery plugin to work outside of the content area, while allowing a different photoset to be associated with each post.

    e.g.
    ID, $key, true) . ‘”]’); ?>

    Now the gallery is in its own separate container. ;)

  • Andrei Gonzales says:

    Whoops.WP stripped out the PHP. Sorry about that. This was what I was trying to post:

    ID, “flickr_photoset”, true) . ‘”]’); ? >

  • Andrei Gonzales says:

    3rd time’s a charm?
    < ? php echo do_shortcode (‘[flickr-gallery mode="photoset" photoset="' . get_post_meta($post->ID, $key, true) . '"]‘); ? >

  • Andrei Gonzales says:

    Hi again Dan (Sorry for being rather pesky today), I was just wondering: is there a way to show the description of a Flickr photo? I can’t seem to find the shortcode to trigger it.

  • Wendy says:

    Hi Dan
    Thanks so much for this plug in which sounds just like what I need. I’m a complete WordPress newbie, though, and need any help I can get. So far, I haven’t managed to set up the plug in, because I’m confused about the Flickr API. When I follow your link, it takes me to a page on Flickr which asks me about the app I have created so that it can allocate me an API. Confused? You bet. I haven’t created an app – I just want to use your plugin! Can you clarify for me?

    I hope so!

    • Dan Coulter says:

      Basically, I have distributed the plugin without an API key. You need to sign up for one to make it work. In this case, just use your site name as your “app”.

  • Michael says:

    Hey Dan, is there an easy way for an almost-novice like me to remove the link to Flickr that appears beneath the images and delete the ability for user to right-click to copy image location to paste into a browser? Thank you! I love this plugin!

    • Dan Coulter says:

      Removing the Flickr link is a violation of the Flickr TOS. If you did that, Flickr might revoke your API key or block your server’s IP address from making API calls.

      As for stopping people from right clicking, you could use Javascript to put invisible div overlays ontop of each image in the page. My plugin doesn’t attempt anything like this because every theme might mess this up and it would be a nightmare to try to support everyone.

  • Jay says:

    The light box is not working at all… no matter how I have it configured, a click on the thumbnail always opens the image in Flickr.

    I assume that this is surpossed to open the image only in a lightbox? Any help would be appreciated.

    • Dan Coulter says:

      9 times out of 10, it’s because another plugin or theme is loading Javascript incorrectly and breaking the Flickr Gallery scripts. Try disabling other plugins to see if that fixes it. If it does, enable them one at a time until you find the one that breaks it. If that doesn’t work, send me a link so that I can look at it.

  • Jay says:

    There is no other plugins running….

    Whats your email for the link?

  • Brian says:

    I was able to setup the plugin for the site and even loaded the lightbox plugin but I have two problems. First I can see the most recent photos in the gallery however I cannot see photos from all the sets. Next when I click on the next page button I have a # showing in the URL but nothing changes and I have over 1000 photos in the photo stream. Please help, trying to get this setup for a non-profit.

    • Dan Coulter says:

      There are a lot of javascript errors. You probably have another plugin causing it. Try disabling your plugins and seeing if it starts working. If it does, re-enable them one at a time to see if it breaks again.

  • sand says:

    Is there any way I can set display image size larger? I tried [flickr-gallery size="large" mode="photoset" photoset="11111111111111"]. but image doesn’t go bigger…

  • sand says:

    linked removed

    Could u delete the link after u cheaked it?
    This is test stage and not for public view.

  • Mark says:

    I haven’t yet got a wordpress site set up, is there a demo of this plugin anywhere? Can’t find a link.

    Also any chances of making this plugin available in Joomla? :-) I haven’t found any good Flickr galleries for Joomla, you would fill a nice hole!

    • Dan Coulter says:

      You can see it in action here: http://dancoulter.com/photos/

      As far as Joomla goes, I doubt I’d have time to learn how to write joomla plugins, develop it and support it sine I don’t have much use for it. Of course, my plugin is licensed under the GPL, so there’s nothing stopping someone else from adapting it for Joomla.

  • Hi Dan, many thanks for the plugin, excellent work! One problem, I changed themes this morning and the widget vanished, changing back didn’t solve the problem. I did have it installed top right. The plugin is still there but I’m baffled. I tried uninstalling other plugins to see if it was some kind of clash but no luck there either.

    If you get the time……Thanks

  • LB says:

    Dan, wondering if there are any known JS errors with this plugin. We are using the Revolution theme by Alex Pascal, and the Flickr Gallery plugin conflicts with this theme’s Theme Settings page directly. When we turn off Flickr Gallery, we get our Theme settings back.

    We really love this Flickr plugin. It’s just becoming a problem to have to turn it off every time we want to use theme settings and things seem to get reset in there.

    Just curious. Thanks.

    • Dan Coulter says:

      Currently, my plugin includes its Javascript to pretty much every page once you activate it and enter an API key. This isn’t ideal, and I’ll probably fix it in a future version. It generally won’t cause any errors, though, because it loads it in a fairly responsible way, using the proper WordPress functions. If your theme is loading jQuery incorrectly, then it could cause a conflict. If you would send me a login, I might be able to identify the problem.

      You’ll have to email me directly because my host broke my contact form and their support hasn’t gotten a good answer to me yet. You can reach me at dan{at-symbol}dancoulter.com

  • Andrei Gonzales says:

    Hi Dan,

    I noticed that you mentioned that this plugin is under the GPL license. Would it be alright if we were to add some extensions to it and release it as well?

    • Dan Coulter says:

      As long as your extensions are also GPL, then you’re more than welcome to do that. If you need any extra filter or action hooks (using the WordPress plugin API), I will be happy to add them.

  • Jason says:

    Is it possible to limit the number of photos that are pulled from flickr on one page from within the WordPress tags? Something along the lines of [flickr-gallery mode="recent" number="5"] for your most recent 5 pictures.

    I found the code on line 824 to change it in a hard coded manner, but it would be nice to be able to change this on a per-post basis.

    (I’m not wanting to pull more than 30 pictures, but less so that it works better with my site layout)

  • NativePaul says:

    Hey Dan, quick question. Using the photoset shortcode, is it possible to link to an image within the lightbox from somewhere else in a wordpress post? I want to jump to an image in the gallery from a text link on the same post.

One Trackback/Pingback

  1. [...] Also, I’d like to give a shout out to CodeMeme for his awesome Flickr Gallery Plug-in for WordPress. It just made my life a whole lot easier and especially with the recent update. [...]

Leave a Reply

Your email is never published nor shared. Required fields are marked *
*
*