How to Exclude Image from Lightbox
-
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.
- The topic ‘How to Exclude Image from Lightbox’ is closed to new replies.