Hi. I am using the [image] and [lightbox] shortcodes for a single image. When I click on the image, the lightbox appears as a slideshow. How do I disable the slideshow and make the ilightbox show only a single image?
Thank you.
Hi. I am using the [image] and [lightbox] shortcodes for a single image. When I click on the image, the lightbox appears as a slideshow. How do I disable the slideshow and make the ilightbox show only a single image?
Thank you.
Hi @SwissArmyKnife,
Please check this detailed guide.
You may add a selector on the lightbox and then add it as class on the image. Something like this:
[x_image class="lb-1" src="img-src-here" link="true"]
[x_image class="lb-2" src="img-src-here" link="true"]
[x_image class="lb-3" src="img-src-here" link="true"]
[x_lightbox selector=".lb-1"]
[x_lightbox selector=".lb-2"]
[x_lightbox selector=".lb-3"]
Hope this helps.
Thank you. I think this is what I am looking for. Have a great day.
You’re welcome, have a great day too.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.