Lightbox with Dynamic Images

I have 5 images with dynamic sources displayed inside a data detail modal.

I want to click on an image to launch a lightbox with a bigger version of the clicked image.
I have checked the tutorial on using a light box but that is for static images found in the sites images folder and not for dynamic images.

I tried adding a dynamic source for Anchor Image but it doesn’t allow me to add a dynamic attribute to load the light box.

How do I show a lightbox with dynamic images?

Community Page
Last updated: