• as soon as any script blocker is activated in Borlabs Cookie, it breaks the function of this plugin: single images still get the lightbox attributes:

    but it does not work on images inside galleries anymore:

    in v3 Borlabs lets you install compatibility patches for several plugins. would be great if this lightbox could be also on the list.
    i’ve reached out to their support as well, for now i’m not using their script blocker to have the lightbox working.

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

    (@awelzel)

    The image attributes are added on the server. But since PhotoSwipe is a script in the browser it will of course not work any longer, if it gets blocked.

    My plugin is for free and works fine. Borlabs Cookie is a commercial and paid product. I don’t see the point in providing a workaround to be able to use a feature on another paid product.

    Solution: don’t use the script blocker. I don’t understand why first installing plugins which need JavaScript to work and then activate a script blocker to stop them.

    Thread Starter getupworks

    (@getupworks)

    well the attributes are not added for images in galleries anymore (only there) and the photoswipe script is not blocked. everything works as expected for single images.

    script blockers are usually used for GDPR reasons, i’d say: block embedded media, trackers, ads, … until consent is given.
    as Borlabs is rather popular i thought it would be nice if two great plugins integrated well.

    Plugin Author Arno Welzel

    (@awelzel)

    So attributes are added in galleries if the script blocker is disabled? Then then script blocker of Borlab Cookies seems to change the backend behaviour as well. However, I still don’t know how to change this since Borlab Cookies changes the normal function of WordPress.

    And about script blocking for GDPR: maybe you should not use plugins which add trackers. For embedded media there like YouTube etc. are also solutions like Embed Privacy which work fine with Lightbox with PhotoSwipe (see Atten ST-8800D hot air station | Arno Welzel as example). And instead of Google Analytics you can use Matomo and disable cookies in Matomo and active IP address anonymization, so Matomo will only record the page view but without tracking individual users.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Borlabs Cookie compatibility issue’ is closed to new replies.