Select to view content in your preferred language

Redirect to website when clicking on an image in a pop-up

156
0
02-07-2025 06:42 AM
GeraardsbergenGIS
Emerging Contributor

Hi,

I've created a Web Map which contains local company information derived from a Survey123-form. The companies logos are stored as attachments in the survey results_feature layer.

When someone clicks on an item and the pop-up shows up, currently they will see the company's logo (as an attachment). When they click on the logo, the logo will open up in full size, in a new window (and you can see the attachment URL in the browser's address bar).

However instead of doing this when people click on the logo, I would want them to be redirected to the company's website. The companies URL's are stored in another field, in the survey results_feature layer (labeled 'Website'). Currently they are redirected to the company's website, when they click on the company's name in the pop-up, but I would like this to be changed to the company's logo.

I was wondering if this can be done?

Thanks and best regards,

Ingmar

0 Kudos
0 Replies