How can I enlarge and keep a close mark (x) for knowledge articles

SunilYadavE
Tera Contributor

I am looking to implement a feature where images within knowledge articles can be clicked to enlarge, with an option to close (using an “X” mark). Instead of manually adding this functionality to each article, is it possible to apply this behavior globally—so that it automatically works for all current articles as well as any articles published in the future?.

I tried for an article image and I am able to do it with script. In this way, it is hard to do for all articles.

1 REPLY 1

Brian Lancaster
Tera Sage

Where does the scrip reside?