Use Photoswipe for other pages with Images

This topic has 2 replies, 2 voices, and was last updated 3 years ago ago by Olga Barlow

  • Avatar: dirtcheaprc
    April 9, 2021 at 03:35

    How can I use photoswipe for other pages that have images?

    I see the following script in the source code of the single-product page, which I can add to my header using a plugin.

    I tried adding a class to the images that I want to use photoswipe, but it didn’t work.

    Looking at the documentation on photoswipe’s website, it looks like this may need to be an XStore item that is added to WP Bakery since there is a structure of divs that need certain classes assigned to them.

    Maybe I am missing something simple, but I don’t see it right now. I need some guidance please. Thanks.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 9, 2021 at 13:50


    Yes, photoswipe requires scripts and appropriate classes for the divs.
    It requires additional cusomization if you want to edit the default WPBakery image element and make it show image using Photoswipe. You can submit customization request here.


  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.