LightBox - How to display 2 or more images?

Hello

I want to display 2 or 3 images into a lightbox.

I’ve followed Lightbox documentation in https://github.com/Wappler/docs/wiki/Using-Lightbox and I already be able to display lightbox with 1 image, but not sure how to do ti display 2 or more images within the same lightbox

But at the end of of it mentions “You can add a group for this image. You can group different images in different groups, so that they can be browsed within the lightbox using the previous/next buttons:”

Can you provide some guidance in order to do that?

Thanks and Regards

Just use the same group name for all the images you want to display in the same lightbox.

Another rookie question

What does a group mean? Is it a tag like class?

Well it’s just a property name. Images using the same group name will be displayed in the same lightbox.

Thanks @Teodor

I already applied and it works perfect!

1 Like

Okay - I’ve been searching (banging my head against this) for long enough, I’m trying to do the same thing - show 3+ images in a lightbox - and I haven’t found any guidance on how to assign a property to an image. I have hundreds of images for my site, I haven’t had to assign anything to them to use them. So I’ll just ask:

How do you assign a property, or group name, to an image?