Like image link, you can redirect users when they click each gallery item instead of opening the database item page.
Try out the demo below.
Add a property with name(not )
Set the property type as
Fill the property with the link (The link must start with http or https)
Expose the property in gallery (Once exposed, you can hide it again)
Checkout the video