Flickr Gallery 1.1

With this new release of Flickr Gallery, the Lightbox functionality should work a little better. It should be loading properly for every built-in gallery mode, including custom searches. The process for adding an authentication token has been improved as well.  The biggest new feature is a newly Ajaxified settings panel.  Saving the settings through Ajax allows full WordPress MU support.

New features in version 1.1:

  • Lightbox set up for all Flickr galleries without interfering with each other.
  • WordPress MU support.

Update 1.1.2: Fixed some small bugs that were stopping people from using the plugin at all.  Most people will see no change.

Flickr Gallery

48 Comments

  • Morris Taub says:

    Hi Dan…well, I uploaded flickr 1.1 and maybe I did something wrong but my viewer no longer works…when I click on a thumbnail it just brings up the image on my flickr site…direct link…I’m using Shadowbox JS for my viewer and I’m on WP 2.7.1…I did try lightbox2 but it doesn’t play well with the theme I’m using…

    So…back to 1.0 for now…

  • caruso_g says:

    Is there a live preview, an example, of how the gallery looks? Thanks a lot for this nice plugin.

  • Morris Taub says:

    When I hit ‘save changes’ in the settings window a new window pops up with this line…I changed the numbers to protect the innocent…

    {“fg-API-key”:”m3459cfg7aqeffe73dfd0d27f6456ew8″, “fg-secret”:”", “fg-token”:”", “fg-user_id”:”90604010@N00″, “fg-per_page”:”30″, “fg-db-cache”:”", “fg-credit-link”:”1″, “fg-flightbox”:”1″}

    also, sorry for this big honkin’ b&w image with my posts…no idea why that image is getting picked up and posted…

    M

  • ricky says:

    I want to add a page to my site that displays all of my flickr photos paginated… Is there a way to do this showing only 30ish at a time? I thought this also added tabs on my site with interestingness, etc

    • Dan Coulter says:

      Ricky,

      If you just use [flickr-gallery] it will show the tabs, including the “interestingness” one.

      Pagination is probably coming in 1.2.

  • ricky says:

    The tabs look GREAT! Is there a way to have the tabs only pull from one collection or photoset?

  • Rory says:

    Great and useful Plugin.

    Do you have a forum other than wordpress.org?

    Have you used flickr descriptions to display near title in flightbox?

    Is there a way to add titles to thumbs?

    I have some ‘very’ limited code skills.

    • Dan Coulter says:

      > Do you have a forum other than wordpress.org?

      No.

      >Have you used flickr descriptions to display near title in flightbox?

      No. The Flickr API doesn’t provide a way to get the photo descriptions without doing individual API calls for each photo. This would take too long to make the gallery useful.

      >Is there a way to add titles to thumbs?

      The title is already in the title element of the thumbnails.

  • Adrian Hendy says:

    Hi Dan,
    nstalled the plugin on about 3 sites, and only on one am I having problems..the lightbox appears on the right hand side of the page, not centred! Any ideas?

    Ade

  • Adrian Hendy says:

    and as you can see my wireless keyboard is playing up too!

  • Morris Taub says:

    Hi Dan…one more question please…is there a way for me to get my photo titles a bit darker?…they’re showing this very light gray on the white background for some reason…any way I can change the colors of the text?…

    here’s a link to a page so you can see what i’m talkin’ ’bout…

    http://www.morristaubphotography.com/?page_id=37

    thanks…

    M

  • Tom says:

    I like the look of this…!

    Is there anyway to get the photos into my sidebar? I’d like to display them on every page.

  • Morris Taub says:

    No, really…I’ve been through the flickr-gallery.css a few times and the flckr-gallery.php…also went through the jquery.flightbox.css a few times and I just can’t find where/what to change so the flickr image titles come up a darker color…suggestions?…

    I mean it’s obvious I’m not good at code but I can usually figure out theme css and how to change stuff around. No luck with flickr gallery.

  • Morris Taub says:

    okokok, sorry to bother…but I found that the title color in flickr-gallery is somehow linked to the font color choice in my theme…nothing to do with the flickr-gallery…a thousand pardons…

    M

    • Dan Coulter says:

      Sorry that I didn’t get back sooner. I should probably define the color of that text in a future version so that this doesn’t happen to other people.

  • nipponese says:

    Flickr Gallery is great! I am wondering if there is a way to get photo titles and descriptions in ‘normal view’ on my Pages, as opposed to just being able to see them when the photo opens in LightBox? I tried playing around with the PHP by adding and in different places, and was able to see them on the flickr-test DIV, but not on the public wp Pages.

  • nipponese says:

    Sorry, another question: in the gallery-id DIV, when I change the $phpFlickr->buildPhotoURL($photo, ‘square’) to anything other than thumbnail, it also changes the size the photo in the Lightbox pop-over. For example, if I use small ($photo, ‘small’), the photo in Lightbox is also small, when I want it to default to medium. Is there a way to change this?

  • Dan Coulter says:

    Currently, no, there is no good way to change this. It’s because of the way that the lightbox figures out what Flickr photo it is looking for.

  • Kirsten says:

    Thanks for the great plugin – first time WP website builder and it’s proving v easy to use.

  • Johan says:

    Love the plugin, nice and clean. However, when using the code [flickr-gallery], when I click on one set it says Loading… and nothing happens. Is this a know bug or something wrong on my end?

  • Thanks for that lovely plugin. – I’ve just updated to 1.1.2 – and have some “Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /is/[blabla]/www/matthiasheil/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 105″ messages both on the admin page (3) and the frontend (2) – see http://matthiasheil.de/medien/album/ – I’d also like to suggest a “save css” option in admin – autoupdating has repeatedly overwritten my changes…-)

    • Dan Coulter says:

      Matthias,

      I’ve just tagged version 1.1.3 to fix your problem with Curl. Thanks for reporting that!

      Your custom CSS should not go in the plugin directory. The plugin updater will always delete it (that’s the way the WordPress devs set it up). Instead, consider changing the CSS in your theme’s CSS file or inserting your own custom CSS file.

  • All Curl error messages are gone – excellent support, thanks ever so much!-)

  • Nick Mason says:

    Hi Dan, I’m having the same problem that Morris described in his first comment – clicking on the image takes me directly to the Flickr page and doesn’t bring up a Lightbox at all. I’ve got WP 2.7.1 and Flickr Gallery 1.1.3 installed. It’s odd, because I had it working for a little bit, but once I moved the [flickr] code to a different page (it was originally in a post), it started to take me directly to the Flickr page.

  • Native Paul says:

    Hi Dan
    I installed the plugin and haven’t touched the code. For some reason the lightbox pops up with a thumbnail image instead of the larger version. I’m using Lightbox Plus, not sure if that’s the problem.

    With very little tweaking I’m sure this plugin will be perfect for my portfolio.

    • Dan Coulter says:

      Paul,

      Here’s the problem with using other Lightboxes: The standard way to use a lightbox is to link a thumbnail to a larger version of an image. With Flickr, we must preserve a link back to the Flickr photopage to abide by their TOS. As such, the thumbnails are not linking to larger versions of the photos, but instead to the Flickr photo page. The custom lightbox that comes packaged with this plugin solves that problem by changing the thumbnail’s URL to the proper format to pull in the “medium” sized photo. Other Lightboxes, like Lightbox Plus are unlikely to work.

  • Native Paul says:

    Thanks for the speedy response Dan. I deactivated the Lightbox Plus plugin (even though I do use it in other sections of the site).
    The lightbox still loads the small image instead of the medium one. Any ideas on what’s causing the problem and how I can fix it?

  • Bo says:

    Hi Dan,

    I tried to install your Flickr Gallery, but I got the problem when trying to use lightbox effect.

    I got the error message like below:

    jQuery(“#gallery-a965237d .flickr-thumb img”).flightbox is not a function

    I tried to install lightbox 2 and jquery lightbox … but it doesn’t work …

    plz help :(

    • Dan Coulter says:

      Most likely, you have either a plugin (or a theme) that is loading jQuery without using the proper wp_enqueue_script() function that keeps you from having script collisions. If you’d like to provide an example, I can probably tell you where the problem is.

  • Bo says:

    Hi Dan,

    I’m newbie in this stuff, plz helping me :(

    http://123okie.com/wordpress/?page_id=43

    thanks in advance :”)

    • Dan Coulter says:

      The plugins ajax-comment-posting, microaudio, and thickbox are all loading their own versions of jQuery; overwriting what is already there. I would contact the authors of those plugins to ask them to use wp_enqueue_script() or find other plugins that will not conflict with eachother.

  • Bo says:

    Thanks Dan,

    Currently, I deactivate 3 plug-ins above, Flickr Gallery works fine now, but the link Next Page seems doesn’t work correctly … :|

    Would you plz taking a look at : http://123okie.com/wordpress/?page_id=43

    thanks in advance :)