WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
WordPress gallery doesn't open in Fancybox (12 posts)

  1. PauluaP
    Member
    Posted 3 years ago #

    Great plugin, however I can't get the WordPress gallery to use the fancybox effect.

    I did ensure the gallery was embedded with: gallery link="file" -- but still doesn't work.

    I have easy fancybox working in conjunction with Nextgen, but not the WordPress galleries.

    Any help much appreciated, thanks...

  2. 8bitkid
    Member
    Posted 3 years ago #

    i have found that the most recent version of the plugin no longer works on my site. it broke immediately after the update.

  3. PauluaP
    Member
    Posted 3 years ago #

    You mean with the latest update you can't get it working with the wordpress gallery, as I'm talking about?

  4. 8bitkid
    Member
    Posted 3 years ago #

    it actually isn't working with any image for me.

  5. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    8bit, It might be an incompatibility issue with your theme and the auto-gallery mode. Go to Settings > Media and try the new option "Auto-gallery" with another value.

    PaulaP, it's hard to say. What do you have filled out at Auto-enable under Images on Settings > Media?

  6. 8bitkid
    Member
    Posted 3 years ago #

    if i set the auto-gallery option to "none" it does work, but it won't with any other option choice.

  7. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    8bit, not even "all images, one gallery"? Can you set it to that option and give me a link so I can try to find out what is going wrong there? Thanks :)

    PaulaP, a link from you would be nice too!

  8. 8bitkid
    Member
    Posted 3 years ago #

    "all images, one gallery" does work. here is a link: http://www.8bitkid.com/page/3/

    let me know if you would like me to set it to an option that doesn't work.

    thanks for the help!

  9. PauluaP
    Member
    Posted 3 years ago #

    Hi Ravan,

    I didn't fill out anything different from the default. The images are: jpg gif png / I've ticked the "enable fancybox for images" option / the auto-gallery is set to the default "post/pages separate galleries per post" option.

    UPDATE: Ok, the first two settings (post/pages ...) leave my WordPress gallery without fancybox. However, in setting the last option, "All images, one gallery for all" gets fancybox working.

    So, I assume somethings wrong that I can't get fancybox working without using that option?

    The Page the gallery is on is, well, a page -- not a post; not sure if this helps identify something or not.

    Actually, could you tell me what the one gallery for all option does?

  10. PauluaP
    Member
    Posted 3 years ago #

    You can see the page where I have it set to "all images one gallery for all" here: http://www.genesisproject.org/about-genesis-project/

    (and as I mentioned, it's working using that setting.)

    Scroll down on the 'About' page until you see the heading "Our little family" -- that's the gallery in question.

    Thanks.

  11. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    Paula & Max, the options with "Post/page images only..." activate some javascript that tries to detect if image links belong to the same post or page before attaching the FancyBox routine to them and grouping them in Galleries. This will make a difference for example on a category page or the front page where you have multiple posts listed. When you use the option "all images, one gallery" and you would click an image from the first post then you will be able to flip forward to other images from other posts listed on that page. The other options prevent that.

    The fact that the other two options do not work for you, is because that javascript is looking for <div class="hentry">...</div> to determine to which post/page an image belongs. A lot of WP themes live by that convention but both your themes do not place post/page content in a div with that class.

    The next release of Easy FancyBox will have an option to make it compatible with your theme. In fact, you can try the development version right now: http://downloads.wordpress.org/plugin/easy-fancybox.zip It has this feature already along with a new "Spotlight" effect when opening images...

    Paula, if you decide to try it, set the new option "Group selector(s)" to "div.postarea". Max Engel, in your case it's "div.post" that should do the trick. Then you can try different variations of the two new options above it, controlling the FancyBox enabling and gallery mode :)

  12. PauluaP
    Member
    Posted 3 years ago #

    Thanks, Ravan.

    I take it this "development version" is in beta or something like that since it hasn't been released yet?

    I think I'll wait for the final release... Beta's worry me :)

    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic