Wix Editor: Linking an Element to a Gallery Image

2 min read
Link an element to a gallery image to promote exciting and important content on your site. This is especially useful if you use images to showcase news or information, as visitors can access and view the image with just one click. 
A live site. The cursor is hovering over a button that links to an image.

Step 1 | Copy the image URL

Open and copy the URL of the image on your live site to get started. Make sure that you've published your site first, as you can't retrieve the URL from inside the Editor.

To copy the gallery image URL:

  1. Open your live site.
  2. Navigate to the page the with the relevant gallery.
  3. Click your chosen image in the gallery to expand it.
  4. Copy the URL of the image from the browser bar.
An image has been expanded on a live site. the URL is highlighted.
Tip:
You can open your live site from the top bar of the Editor. Learn how to view your published site

Once you've copied the URL, you can add it as a link to an element on your site. Some popular elements you can link to images include buttons and text headings.

To link the element to the image:

  1. Open the Wix Editor.
  2. Click the relevant element.
  3. Click the Link icon .
  4. Click Web Address from the menu on the left side of the panel.
  5. Paste the image URL into the field titled What's the web address (URL)?.
  6. (Optional) Select whether the image opens in the same or a new window.
  7. (Optional) Choose the link rel attribute under Advanced SEO Settings.
  8. Click Done.
The link panel in the Editor. The image URL has been entered.
What's next?

Did this help?

|