Can I create multiple hyperlinks on one image in my ecommerce store?

Hello,

My shopify page is www.toonfam.com if you go to the homepage, there is 1 image that showcases the 4 products i offer on one image. Currently the hyperlink on that image takes you to the collection page in which you can select which product you want.

However, I want to ask if it’s possible to make 4 different hyperlinks to 4 different product pages on that same one image? Or perhaps if there is a widget/section that I can add to give the same effect?

The theme that I am using is the latest version of Shoptimized.

All help is appreciated :slightly_smiling_face:

Hi @Toonfam

Aibek is here from Speedimize.io agency,

Welcome to Shopify Community.

https://www.image-map.net/ - you can use this service to create clickable Image Maps. http://joxi.ru/Vrw3B1KS7W9BNr - here we have divided into 3 parts by specifying three links. Next, you will need to generate a code and insert this code next to the image on the main page.

https://www.w3schools.com/html/html_images_imagemap.asp -A theory about Image Map, if you’re interested. This is the easiest way to do what you want.

If you have any problems, you can contact us.

Hello,

Thank you so much for the advice. I followed all the steps and have the code for the image, but where do I put it? For the image I have on my homepage, I have the following widget/section and here is the code for it:

https://pastebin.com/tu0SyVK3

I’m not too tech savvy so spoon-feed me as they say haha :grinning_face_with_smiling_eyes:

Hey @Toonfam

We will do our best to help you with this.

We have calculated the coordinates for the desktop version for you. You will just need to change the links and title.


The changes should be made in the homepage-slideshow.iquid. You should add the code immediately after the tag. In addition, you must specify the usemap="image-map " attribute. Example below:


![Untitled_design_3_1_dc337f19-f7b1-4ca1-9385-c3bf281012bf_2048x.progressive.png.jpg?v=1616155626|2048x1329](upload://em1RMZSqftj6hH7BR2c0xgrFvA9.jpeg)

After that, it should work. And for the mobile version, you need to do the same, only there will be other coordinates.

Hope that helps you.

Kind Regards.

Hi,

I am having the same issue. I created this banner and went to https://www.image-map.net/ and got the code (see below). But I do not have the same theme as the person above, so I am not too sure which liquid file I am to put my code in. Please advise. Thank you!

My website is www.evcr.com using theme Parallax.

Hey,

i don’t have homepage-slideshow.liquid. Using debut theme. And in slideshow.liquid i don’t have tag