• Hello,

    Onboard a big thank you for this plugin which is great!

    I have a small question how to prevent the zoom click of the image after opening the lightbox?

    Jerome
    ++

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter foliobook

    (@foliobook)

    Okay I find the solution with a little CSS:

    /*no zoom*/
    .pswp--zoom-allowed .pswp__img {
        cursor: -webkit-default;
        cursor: -moz-default;
        cursor: default;
    }
    .pswp__zoom-wrap {pointer-events: none;}
    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for the feedback. Maybe I will add this for the option “Show zoom button if available” – so when disabling that button not only the zoom button will be hidden but also zooming itself will not be possible.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Great lightbox !’ is closed to new replies.