Create and use image mapping in SharePoint Online

In this SharePoint tutorial, we will discuss how to create an image map and how we can use in SharePoint online. The same approach will work in SharePoint 2016 and SharePoint 2013.

SharePoint online image map

Here we will see what is image mapping, how to create an image map path and how we can use it in SharePoint online using a script editor web part.

YouTube Channel:

SharePoint image with multiple links

Today I am going to explain how to insert links in an image with respect to the position of the image.

Say for an example: In FB, we will have a tag on photos. In any location or a specific part of the image, we do tag a person. Similarly, we can refer to a link to the image when they click on a specific part of the image.

To implement this first,

1. Create a site page in the SharePoint 2013 site.

2. Insert an image in the page.

Then we have to write code to display links on the page.

3. Open the page in designer and give a propety usemap=”#country” in the image tag.


<img alt="globe.png" src="/teams/CreditPoint32/1.5.2Site/SiteAssets/SitePages/Test2Page/globe.png" usemap="#country" style="margin:5px;" />

Now add rectangle, circle and polygon shape of links to cove a part in the image.

In the above image, we have countries. To insert links to a specific country when we click on the “ASIA” or any other country in the image

Add rectangular type of mapping in the page (Below <img> tag

<area shape="rect" value="multireg" coords="69,20,270,79″ href="">
<area shape=" rect " value=" america " coords="12,265,80,80″ href="">
<area shape=" rect " value=" asia " coords="332,260,255,80″ href="">
<area shape="rect" value="europe" coords="69,320,270,268″ 

This we can find hot spots and give links to navigate the location. Hope this will help you in your development

You may like the following SharePoint tutorials: 

I hope this will be helpful to create and use image mapping in SharePoint Online and sharepoint image with multiple links.