Opening a link on click in photo gallery connected to database

We have various media galleries on our site which are populated by media from a database. We want to be able to have a different link open upon click on each image in those galleries. However, in the database settings area there is no option to add a unique URL for each image (usually it would be where the orange arrow is pointing in the screenshot below.

Since the gallery element in the editor on the actual page in question is populated by the database, adding a URL in the element settings for each image slot doesn’t work either.

One of the galleries in question can be seen here: https://quanticaeducation.wixsite.com/test01qa/emprendimientocommerce/amatai

Screenshots:

Hello.

Please note that the option to link a gallery is not available for all galleries. Therefore, you need to choose a gallery that has this option like the Wix Pro Gallery.

Should you need further assistance regarding the same reach out to Wix Customer Care . They will be of great help. This forum is only for code related issues and discussions.

Good luck!

The gallery in question is a Wix Pro Gallery. But it is not populated by images that we add to the Gallery through the Element options on the page/gallery itself but by the “Connected to Data” option which returns images from a database as shown in the screenshot above.