header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Wix Editor: Linking an Element to a Gallery Image

2 min
In this article
  • Step 1 | Copy the image URL
  • Step 2 | Add the link to the element
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?
A live site. The cursor is hovering over a button that links to an image.
An image has been expanded on a live site. the URL is highlighted.
The link panel in the Editor. The image URL has been entered.