Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Prevent clickable image in knowledge article

Matt Lodge
Tera Expert

I have an image in a knowledge article that has a hyperlink attached to it. When I click on the image the image opens up and then the link takes me to the new page,

How do I stop the image opening and just the url activating?

1 ACCEPTED SOLUTION

Seems like the ask is that when the image has an associated link, then dont show the image viewer, but redirect to the link.

I will pass the feedback to my Product team. 

View solution in original post

21 REPLIES 21

Hi, i would like to know the answer. we are facing similar issues. 

Just wondering if anyone had been able to find a solution to this? Am facing the same issue as Alexander here - the pointer-events: none style doe stop the image from popping up, but also reduces the area of the image that is a hyperlink which is not a great user experience.