Search code examples
wordpresspluginsgallerylightboxportfolio

How to open different image in lightbox than it's thumbnail in WordPress?


I am using WordPress and looking for a plugin or code through which I am able to open a different image in the lightbox. For example, I have images in the thumbnail when clicking on that thumbnail another image should be open in the lightbox. I want to open another image in the lightbox rather than thumbnail image


Solution

  • Yes, It's possible. You can try this simple step from the divi.

    -> Firstly, install and activate the Divi Supreme plugin.

    -> Go to Divi Builder and look for Supreme Image Module.

    -> Under Link, Toggle “Open in Lightbox” and a new option “Use Other Lightbox Image” will show up then toggle “YES”.

    -> Upload your desired image for the lightbox.

    -> Save and Publish!