Open lamlai opened 2 years ago
You can do this the lightbox manually with a class I think. Can't find the snippet right now but I'm sure i've seen it before.
There is this custom plugin which will then let you use class="wplightbox"
if you can't find the proper lightbox snippet.
So you would want something like this in your dynamic repeater:
<a href="link-to-big-image" class="wplightbox"><img src="link-to-thumbnail" alt="" /><a>
I haven't really used the dynamic repeater - does it support this kind of template? Can you get links to multiple images passed in? Or generate them with a macro or something?
Hmm it could be data-elementor-open-lightbox="default"
.
https://toolset.com/forums/topic/make-the-image-to-link-to-open-the-light-box/
Hi,
I am making image galleries for my projects with Dynamic Repeater. Currently, the images in the gallery are displayed outside but it is quite small, I want to click on the image to expand it with the Lightbox effect.
Hope Crocoblock develops this feature soon.
Thanks!