Set a link when using a dataset gallery

How can I set a link in the dataset that will be used by the gallery when someone clicks the gallery front image?

Wix Editor

I have set up a gallery page where the visitor can filter the gallery by categories.
When the visitor clicks on a galleryimage I want the visitor to land on another url.

I have tried using adding a URL field in the dataset, and the gallery settings to open a link when clicked, but nothing happens when you click on the galleryimage

Can anyone help?

Thanks!