Hi.
I thoroughly enjoy your solutions, and was happy to see the CMS Lighbox caption solution. I do see a problem when you have more than one lightbox groups with conditional visibility settings on (do not show if image field is empty).
This is my example:
I have a dynamic page with two lightbox groups (clinical and histology) each pulling images and captions from the same CMS collection list (Group 1 Clinical images 1-5 Group 2 Histology images 1-14). Some of the collection lists has less than 5 clinical images, the empty fields are turned off by conditional visibility.
If I have 5 clinical images (no need for conditional visibility to turn off empty elements), both lighbox groups (clinical and histology) show captions.
If I have less than 5 clinical images in the collection, the captions don’t show up in the second lightbox group. Does conditional visibility breaks the attribute downstream? Could you recommend a solution?
The example I have below now combined the two groups into one, as I thought that was the problem. But the same issue happens. If I don’t have 5 clinical images, the the second set of images will show but without legends.
With 5 clinical images captions work on all images:
https://preview.webflow.com/preview/dermpathexplorer?utm_medium=preview_link&utm_source=designer&utm_content=dermpathexplorer&preview=294feb46c42820c36edf2524e882b34e&pageId=65e219db929a2467b8193252&itemId=65e219db929a2467b8193816&workflow=preview
I would greatly appreciate your help. Thanks. Andras