• Resolved Kramarz

    (@kramarz)


    Hi mate,

    Here’s the issue, I got 10 images inserted within a post in random places (NOT as a gallery), which all of them link to themselves, so they open in a lightbox, creating sort of grouped lightbox gallery when one of them gets slicked. That’s perfectly fine.

    Now I got 11th image which is to pop up in a lightbox in a sidebar, BUT it gets auto included with all those images from the post content when any of the images gets opened in a pop-up. And I don’t want that.

    Is there any way of grouping those images withing the post with a class or so, so ONLY them are included in a lightbox, excluding the image in the sidebar (which still should be able to pop up in lightbox on its own when clicked?

    Hope you get my point, let me know if clarification is needed.

    EDIT: actually, it’s not in the sidebar, my mistake, it’s in the bottom of post in a snippet, but still same issue stays, is there a way of grouping only chosen images within a post so they create a ‘lightbox gallery’ and rest of images would only open in a lightbox by their own.

    https://wordpress.org/plugins/fancy-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dennis

    (@dhoppe)

    This issue usually happens when your theme does not use the default context wrappers classes which comes with the post_class() function. Would need to take an eye on this individually. You could open a support ticket for this problem on our website.

    EDIT: If the 11th image is inside the post content (for example in the bottom) the plugin works as expected. 😉

    Thread Starter Kramarz

    (@kramarz)

    Sorry mate, corrected my issue with EDIT, if you don’t mind.
    All images are within the same post content, but I only want some of them grouped to open in a lightbox OR even, if no other choice, to make each of them open in separate lighbox without possiblity to navigate through all of them.

    Any ideas?

    Plugin Author Dennis

    (@dhoppe)

    And of course you can add a “rel” attribute to your links to group the images manually.

    Thread Starter Kramarz

    (@kramarz)

    Yea I know it works as expected, and usually I’m fine with it 🙂
    But in this case I want to exclude 1 image from auto grouped lightbox, so it has it’s own lightbox.

    Thread Starter Kramarz

    (@kramarz)

    JEZZ… thx ;-p
    Sorry for being such a noob!
    Case closed 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Exclude Image from Lightbox’ is closed to new replies.