Is it possible to tag a value on the selected image from an Image Gallery module


Hello Everyone,

I am trying to make a template with an Image Gallery module inside it. My goal is to make a gallery that when you select an image among the list, that selected image will have a value, for example, ‘image1’, and that value will be passed to a form when a CTA is clicked. Basically, I would want to choose from the images (from the gallery) and pass the selected image’s data to a form.

Is this possible? Thank you very much in advance!