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.
48 Comments
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…
Is there a live preview, an example, of how the gallery looks? Thanks a lot for this nice plugin.
You can see the gallery in action at http://dancoulter.com/photos
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
I’m gonna send you an email. This is probably another WordPress plugin messing with the Javascript.
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
Ricky,
If you just use [flickr-gallery] it will show the tabs, including the “interestingness” one.
Pagination is probably coming in 1.2.
The tabs look GREAT! Is there a way to have the tabs only pull from one collection or photoset?
Not without a little PHP know-how. The plugin’s main page has details on the API to add and remove pages.
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.
> 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.
Well done
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
Since I’ve taken a bit of time to respond, I’ll send you an email about this.
and as you can see my wireless keyboard is playing up too!
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
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.
Yes. Use this plugin: http://wordpress.org/extend/plugins/sidebar-shortcodes/
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.
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
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.
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.
That would be a very good feature for me to put in an upcoming release. Maybe even 1.2
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?
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.
Thanks for the great plugin – first time WP website builder and it’s proving v easy to use.
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?
Do you have an example I can see?
Wow, you are fast
.
http://www.johanadell.com/index.php/gallery/
Ok, there’s a simple fix. Look for a version 1.1.2 some time today (probably this evening).
Sounds great! I look forward to it!
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…-)
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!-)
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.
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.
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.
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?
Can you give me a specific example? I’m not sure where you are including that on your site.
Sure, I use Lightbox Plus for images on this page:
http://www.nativenoise.co.za/webmultimedia-development/
(I have re-activated it so you can see).
I’m using Flickr Gallery on my Photography pages:
http://www.nativenoise.co.za/photography/best-live-music-shots/
Those images all show up as thumbs in your lightbox (whether Lightbox Plus is on or not).
This rule in your theme’s style.css (line 44) file is messing it up:
img { display:block; max-width:100%; }Specifically, the “max-width: 100%” is what is screwing it up. You need to remove that line or adjust the selector so that it won’t include the image inside the lightbox.
It looks like Lightbox Plus isn’t going to interfere with my lightbox, so you can keep that active.
That fixed it. Thank you so much! It is really refreshing to find someone so eager to help (and so fast!)
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
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.
Hi Dan,
I’m newbie in this stuff, plz helping me
http://123okie.com/wordpress/?page_id=43
thanks in advance :”)
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.
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
There is a bug that breaks the pagination when installed in a subfolder. I should have an update out soon that fixes it.