WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Flickr Gallery] Lightbox not working, Next Page button not working (23 posts)

  1. oddible
    Member
    Posted 4 years ago #

    Just installed the latest version and put a set tag in:

    [flickr-gallery mode="photoset" photoset="72157605870230826"]

    and there is no Lightbox happening - I click an image and it goes to Flickr.

    Additionally, there is a 'Next Page' button at the bottom (positioned a bit absurdly) but it doesn't go to the next page of images.

    Do I need to install Lightbox separately - didn't find any information about this in the documentation. If so, which Lightbox (a WP plugin or just drop a lightbox dir into the gallery plugin directory)?

    Thanks.

    Unfinished test site here:
    http://veroandjack.beatbyte.com/?cat=4#

    http://wordpress.org/extend/plugins/flickr-gallery/

  2. ben.teoh
    Member
    Posted 4 years ago #

    Yeah, having the same problem with the lightbox, but not sure how to fix it. The code's a little beyond my understanding. I'm pretty sure it's got its own lightbox built in.

  3. ben.teoh
    Member
    Posted 4 years ago #

    You need to make sure that your theme supports the wp_head hook.

    The easiest way to do it is to edit your themes header.php and make sure you put this code in between the header tags:

    <?php wp_head(); >

  4. Brookfresh
    Member
    Posted 4 years ago #

    are there any solutions to the lightbox not working? Im having a problem getting it to work with IE8, works fine in other browsers mind you.

  5. Peter Holme
    Member
    Posted 4 years ago #

    On my site, the lightbox works ok, but the "next page" button just gives me a blank page! Check it out: http://holme.se/bilder/ - try to click the "neste side" (next page).

    Also, I have made a Norwegian translation available for Flickr Gallery 1.3 at http://code.google.com/p/no-wp/source/browse/#svn/plugins/flickr-gallery

    Best Regards, Peter

  6. Jantina
    Member
    Posted 4 years ago #

    I am also having trouble getting the lightbox to work... http://communication-insight.com/client/sarahcheeselady.com/?page_id=101

    Any thoughts or suggestions on how to fix it?

  7. adambundy
    Member
    Posted 4 years ago #

    Im having the same issue. Using WP 3.01 and plugin v.1.4.0. The next page button sets all the image containers to visibility:hidden but doesnt seem to load a new page of thumbnails- they're still the first set of images. Is this an incompatibility with my already-loaded jquery perhaps?

    http://designholeonline.com/portfolio/

    Thanks!

  8. timob
    Member
    Posted 3 years ago #

    Well I have been stepping through the code to try to figure it out, making a little progress, no fix but can repro. Quick workaround is
    using different shortcode

    [flickr-gallery mode='recent']

    so it is not a java bug as mentioned in different threads, it appears to be something in the default switch of the flickr-gallery php starting at line 244, still trying to figure it out, but looks way beyond what I am capable of coding wise so could really use help figuring it out

  9. DanCoulter
    Member
    Posted 3 years ago #

    @adambundy

    Version 1.5 should have the fix for that. Let me know if it doesn't.

  10. lastraw
    Member
    Posted 3 years ago #

    The next function isn't working for me either.

    http://www.aidsmemorial.org/

    Thanks,
    Leslie

  11. DanCoulter
    Member
    Posted 3 years ago #

    @laststraw, It works for me.

  12. lastraw
    Member
    Posted 3 years ago #

    Seems to work in Chrome, but not FF.

  13. DanCoulter
    Member
    Posted 3 years ago #

    Oops! I left some debugging code in there. I'll clean it up and put out an update in a moment. thanks for pointing that out to me!

  14. dburr
    Member
    Posted 3 years ago #

    OK, here's a weird one. Lightbox isn't working for me on one of my sites, but is working just fine on the other. Both sites are running WP 3.0.1 with Atahualpa 3.5.3, but have a somewhat different set of plugins. so I suspect a plugin incompatibility. Does anyone know of any plugin incompatibilities with this plugin? I checked the README and its website but didn't find anything.

    Works: http://donaldburr.com/photography/
    Doesn't work: http://otakunopodcast.com/pictures/

  15. dburr
    Member
    Posted 3 years ago #

    OK, I found the problem. It appears to be a conflict with the "Referrer Detector" plugin. I'm guessing that, since both of these plugins appear to use JQuery, there is some sort of incompatibility there. Any chance of a fix?

  16. timob
    Member
    Posted 3 years ago #

    I was finally able to step through the code and found two problems

    I am only showing PhotoStream and Photosets

    The problem I was having with Photostream was the next button was not working

    To fix that I did the following

    I made a backup of the flickr-gallery.php

    At approx line 303
    page: flickr_gallery_photostream_page,

    I removed the comma

    two lines later is

    console.log(rsp);

    I also removed that line

    after I did that the next button worked

    I was having a problem with PhotoSets in that the link to flickr did not work it made a 404 error

    on line 1009 in the flickr-photo class

    I changed the href and deleted

    http://flickr.com/photo.gne?id

  17. DanCoulter
    Member
    Posted 3 years ago #

    @timob

    Thanks for pointing those errors out. I had already removed the console.log bug (stupid debugging code!), but I missed the other two. I'm fixing those now and putting out another update.

  18. DanCoulter
    Member
    Posted 3 years ago #

    @dburr,

    It isn't a problem for two plugins to both use jQuery as long as both plugins load it correctly through the WordPress functions. My plugin does, but I can't speak for any others.

  19. lastraw
    Member
    Posted 3 years ago #

    Works now! thanks.

  20. cpohlenz
    Member
    Posted 3 years ago #

    Lightbox doesn't work for me either, I've tried everything that was said here but still no diference.
    Next button is working for me, but there is no previous button.. any way to fix this too?

  21. DanCoulter
    Member
    Posted 3 years ago #

    @cpohlenz

    There's no way for me to know unless you provide a link.

  22. cpohlenz
    Member
    Posted 3 years ago #

    right, sorry! here's the link
    http://masgobierno.mx/cristi/about

  23. DanCoulter
    Member
    Posted 3 years ago #

    @cpohlenz

    You have a theme or other plugins that are loading Javascript incorrectly. Try disabling your plugins and switching to the default theme to see if the lightbox will work. Then you can enable them one at a time until you find the culprit.

Topic Closed

This topic has been closed to new replies.

About this Topic