Support » Plugin: Simple Lightbox » Option to turn off for image

  • Resolved Paul

    (@paultgoodchild)


    Hey,

    As always, thank you for a great plugin… really appreciate the simplicity and the stability of your development!

    I wanted to ask if there is an option, or could you add the option, to perhaps add a class to a image whereby you wouldn’t either:
    – resize the images to fit the lightbox, or
    – you could, on-demand, turn the lightbox off for a given image altogether. That is to say, by default I want SLB on images on posts, and I could add a class to an image that I don’t want to have a lightbox open for clicking that image link.

    Does that make sense?

    Cheers!
    Paul.

    https://wordpress.org/plugins/simple-lightbox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Paul

    (@paultgoodchild)

    I found the option to not automatically resize the lightbox. Sorted.

    But it would be good to be able to say, set a CSS class that would exclude a particular image from have a lightbox link.

    Cheers!
    Paul.

    Plugin Author Archetyped

    (@archetyped)

    Hi, you can use SLB’s [slb_exclude] shortcode. Just wrap it around the content that you want to exclude from SLB 🙂

    More information: What’s new in SLB 2.3

    Paul

    (@paultgoodchild)

    Nice one! Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Option to turn off for image’ is closed to new replies.