• Resolved Rafael Fischmann

    (@rfischmann)


    Hi,

    I’ve installed and enabled the plugin, but can’t seem to find out why clicking on images still use WordPress’ default lightbox instead of PhotoSwipe’s.

    Should I disable the native lightbox first, somehow?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    WordPress itself does not have a “native” lightbox, this must be another plugin or theme (maybe you are using a gallery plugin which has its own lightbox – then ask the maintainer of that gallery plugin how to disable the lightbox of it).

    Also do not use any “script optimizer” – this will not work with PhotoSwipe since that is modular JavaScript code which will not work when an “optimizer” just merges it together with all other JavaScript files on your website. Either disable it or exclude Lightbox with PhotoSwipe from any kind of optimization.

    Thread Starter Rafael Fischmann

    (@rfischmann)

    Hi @awelzel, thanks for getting back to me!

    WordPress does have a basic lightbox features since version 6.4, yes: https://learn.ww.wp.xz.cn/tutorial/exploring-wordpress-6-4/

    I’ve tested disabling my only “script optimizer” plugin, which is Perfmatters, and it doesn’t make any difference.

    The conflict seems to be with Imagify [https://ww.wp.xz.cn/plugins/imagify/], as per my testing. When I disable it, Lightbox with PhotoSwipe starts working. Any idea why? Imagify is very important to us.

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

You must be logged in to reply to this topic.