I'm trying to create a gallery that will appear on a number of pages across my site, but I want to be able to make changes to this gallery from one central location. I've been trying to use a dataset to generate the content in the gallery and it's working great. The gallery needs to have images as well as text that displays on hover. When one of the images in the gallery is clicked, I want it to redirect to a different page on my site. I've managed to make all of that work using a gallery I created and linked to a dataset.
The problem is, when one of the images in the gallery is clicked, the new URL is opened in a new tab but I need it to open in the same tab. Does anyone have any thoughts on how to achieve this? I've attached a screenshot of the dataset/gallery below to give you an idea of what I'm currently doing. The different pages across my site that will have this gallery on them are very different, so I haven't been able to do this using the dynamic page feature.