Instructionsresponsive Image Map Creator

  1. Let’s say you’re trying to create your own social media icons. Head on back to Part 1 of this tutorial, How to Create Social Media Icons using Ribbet, and check it out. Once you have your image, you are ready to map it! Go to www.image-maps.com, upload your previously saved image, and click on ‘Start Mapping Your Image’.
  2. Importing Image Map data saves you the trouble of entering the data in the Image Map List as you create each Image Map. To import Image Map data. Go to the Image Map editor page (for images or images in SpinSets) or the Map Pages tab of the eCatalog editing screen. Click Import Metadata.

Responsive Images Html

Create An HTML Map

HTML image maps are one of the best ways to add multiple links to a single image. HTML maps are fully supported by all browsers. Below you can find a free tool that will allow you to generate an HTML map in the easiest way possible- just draw the areas and give them the links, alts and targets. The system will generate the HTML map code for you. Creating an HTML map is easy! Just follow the steps below.


First, specify the image you would like to map:

HERE Maps are used by millions worldwide through mobile apps, social networks and in 3 out of 4 cars equipped with a navigation system. With HERE Map Creator, you can edit your ow. The map element contains a number of elements, that defines the clickable areas in the image map. About This tool makes it extremely easy to generate HTML based image maps.


Enter your image's URL:Upload a file: (Coming Soon.)

Drag your mouse to create quares where you'd your links to be, add thier target URL, alt text and taget window. when you're done click the 'Finish' button below:


Enter link URL:Enter link alt:
Enter link target:

You're DONE! Copy one of the codes below and paste it in your HTML page:


HTML Map Code

CSS Map Code


What are HTML Maps?

The HTML <map> tag was created in order to make it easy to set a few links on a single image. Instead of cutting the image into parts and adding an anchor tag (<a>) to each of them – all you have to do is create a <map> tag and connect it with the relevant image on your HTML page.
The HTML map element has only one required attribute: 'name', which is used later for connecting the <map> tag to the right <img> element.


Areas inside an HTML map

The way to specify the links inside an HTML map is to nest <area> tags inside the relevant map.
The <area> tag has a few important attributes:

  • shape: sets the shape of the area we want to add the link to. The shape attribute can be on of the following:
    1. 'rect' – For a rectangular link area(most common).
    2. 'circle' – For a circular link area.
    3. 'poly' – For a custom poligonal link area.
  • coords: sets the coordinates for the link area.
  • href: specifies the URL to link to.
  • alt: specifies the alternative text.
  • target: specifies the link's target window.

Looking for an attractive website?
Check out Simbla responsive website builder.
Responsive image maps wordpress

How to create an HTML image map?

To create an HTML image map you must specify your areas by thier relative pixel coordinates. This can sometimes be a very excruciating procedure since each area needs at least two (x,y) coordinates - Which means that for 5 areas on your HTML map you'll have to measure at least 10 different points on an image and type them all in. HTML Map offers you this free online tool for easily creating these areas - just drag and drop the link areas and the HTML map creator will automatically generate the entire code including measuring all the coordinates for you.


Check out this cool 3D Rubik's Cube Solver.
Find PokemonGO Friends!

This article shows how to create image maps using HTML. You’ll learn how to create client-side image maps, and we’ll touch on server-side image maps too.

Image maps explained

An image map is a way of defining “hot spot” links within an image on a Web page. This means that, rather than having the whole image behave as one link, you can have lots of different links within the one image.

For example, the single image below has an associated image map containing 3 hot spots that, when clicked on, bring up different JavaScript messages:

Try clicking on each of the shapes and you’ll see that each shape has its own link, bringing up its own JavaScript message!

Linking to an image map: The usemap attribute

How do you turn an image into an image map? Well, to associate an image map with an image, simply add the usemap attribute to the img tag for the image. In the above example, the image map is called 'shapes', so our img tag looks like this:

Note the usemap='#shapes' attribute, that associates the image map with the image.

Creating an image map: The map tag

The other half of the image map is the map definition itself. In this definition, you tell the browser where the hot spots are in the image, and what the hot spots need to link to.

The map is defined using the <map></map> tag. In our example above, the map tag looks like this:

You can see that we’ve defined 3 “hot spot” areas in the image map — a circle, a rectangle, and a polygon — and that we’ve linked each of these areas to a JavaScript function to display the appropriate shape name.

The above map element is placed after the image in our HTML file. In fact, it can be placed anywhere within the HTML page body.

The general syntax for the map element is:

So, each image map is given a name (map-name), and one or more area tags to specify the hot spots in the image.

The area tag has the following attributes:

shape='rect circle poly default'

Specifies the shape of the area. Possible values are:

  • rect (a rectangular shape),
  • circle (a circular shape),
  • poly (an arbitrary polygon, with 3 or more points), or
  • default (which represents the remaining area of the image not defined by any area tags).

coords='area-coordinates'

Specifies the coordinates that define the corners of the shape. The coordinates depend on the shape specified in the shape attribute:

ShapeCoordinates
rectcoords='x1,y1,x2,y2'
(The top left and bottom right corners of the rectangle)
circlecoords='x,y,r'
(The centre and radius of the circle)
polycoords='x1,y1,x2,y2,x3,y3,..'
(The corners of the polygon)

Note that all coordinate values are relative to the top left corner of the image. In other words, the top left corner always has coordinates (0,0).

Note also that the default shape type does not need any coordinates.

href='area-hyperlink'

This is the URL that you’d like to link the hot spot to. It works just like a standard <a href=..> tag.

You can specify a nohref attribute instead, in which case the hot spot will not link to anything.

target='hyperlink-target'

Instructionsresponsive Image Map Creator Free

This is the optional target window or frame to open the linked URL in. Again, it works just like the target attribute in a standard <a href=..> tag.

title='area-title'

This attribute allows you to give the area a title. When the mouse is rolled over this hot spot, the browser will usually pop up a tool tip displaying this title.

Server-side image maps

As an alternative to defining the whole image map in HTML for the browser to read, you can use server-side image maps. With this type of map, the browser simply sends the (x,y) coordinates of the point clicked on to a server-side script (such as a CGI script).

To define a server-side map, you simply include the ismap attribute, and place an <a href> tag around the image, specifying the server-side script to send the (x,y) information to:

Then, when you click on the image, the browser sends the (x,y) coordinate of the point that you clicked on to the server-side script, which can then interpret these (x,y) values and take an appropriate action. The coordinates are appended as parameters to the end of the script URL:

Responsive Image Generator

For example, if you wanted the user to choose a country from a world map image, you could use the server-side script to calculate which country was clicked on, and then display information about that country.

Another way of creating a server-side image map is with the image input type in web forms:

In this case, the (x,y) coordinates are sent as form fields named fieldname.x and fieldname.y. So in the above example, the coordinates would be contained in the fields shapes_image.x and shapes_image.y.

Instructionsresponsive Image Map Creator Minecraft

It’s best to use a server-side map whenever the map has many areas, or where the areas are not easily defined by simple shapes such as circles, rectangles and polygons.

Working out image map coordinates

If you’re using a Web page editor such as Macromedia’s Dreamweaver you can draw image maps straight onto your images and let the editor work out the coordinates, but what if you’re editing your page by hand?

One easy way to work out coordinates is to change your image map from client-side to server-side temporarily, by changing the usemap='mapname' attribute to ismap='ismap', and adding a dummy <a href> tag around the image, e.g.:

Then, as you roll the mouse over the image, you should see the coordinates appear after the “?” in the status bar of your browser! Try moving your mouse over the image below to see if this works:

Responsive Image Map

If you can’t get that working, another technique is to open your image in a graphics package such as Adobe Photoshop. You can then move the mouse over the image and see the mouse coordinates in the Info Palette.

You now know how to create image maps in HTML. Happy mapping!

Download adobe xd for free