Home>Support>Adding OnClick Attribute to Image Link

Adding OnClick Attribute to Image Link

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi everyone,

I am wondering if it is possible to add an “OnClick” attribute to an image link. I see in the image widget there is a spot for “Link To”, but I’m not sure how to add attributes as I presume that is strictly for the URL.

Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks for posting.

    You could perhaps add your image using the SiteOrigin Editor widget. You could then switch to the Text tab within that widget and edit the link attributes as required.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More