Introduction: How to Make an Image Map Using GIMP

This is a quick tutorial on how to make an image map using GIMP. GIMP is a free image editing program that looks and feels like many of the higher end programs available commercially. I would estimate the learning curve to be of moderate difficulty, varying upon your familiarity with other types of similar software. While this is a rather simple task, I should note that there are more powerful programs that can do this in fewer steps, but you simply cannot beat the cost of GIMP (free).

Step 1: Step 1: Choose an Image

It would be exceedingly hard to create an image map without, you know, an image. So the first thing you have to do is source one from teh interwebz, or create one (using GIMP, obvs) from scratch. Since editing and creating images should probably be it's own tutorial, we'll just assume you already have an image to use and go from there (but if you don't, and you have access to something like Visio it's simple to make an image similar to what I'll be using).

Step 2: Step 2: Gather Your Links

To me, the next logical step after choosing/creating an image is to go ahead and gather all the links you'll be using. This code be the address of an internal page you're linking to, or anyplace around the net. For this exercise we'll be using five web addresses:
The site you're currently looking at, duh.
A great photo sharing website. Existed before Instagram, back when Yahoo! was still a thing.
The Home Improvement Company.
My local library. 
That site where that guy stole that idea from those guys.

Step 3: Create the Map

Here we're going to use a special tool in GIMP called a Filter. Filters allow you to modify the image as a whole, without doing a lot of manual work. You can use filters to add lens flares a la J.J. Abrams, create an embossed look on your text, or add a drop shadow to create the feel of depth in an image. These are very simplistic examples of what can be done, but there are far more powerful things that you'll learn about the more experienced you get with this type of software (I'm simply a novice. The pros can do things that will make your head spin). Once you click to use the filter a new window will open where you'll actually create the map.

Step 4: Shape Up!

Now that you're in the image map window, you'll create the zones that will become your clickable link. Since we're using a spoke map with circular terminations, it makes the most sense to use the circular tool. If you're using an irregular shape you should use the polygon tool which will allow you to create many different points along the border of your shape (#ProTip: Double click once you've circumnavigated the border and it'll stop trying to add new points). Once you've selected the area that is to be your link a new window will popup where you will input your web address. I would suggest copying and pasting directly from your address bar to avoid any typos leading people to a broken link or the wrong site. After you've entered this click apply and move on to your next link. As you complete each zone you'll see it added in the bar on the right hand side of the screen.

Step 5: SAVE OR DIE!

I cannot stress enough how important it is to save often. Actually, I can. It took me three tries to get this map created because all three times I tried to do the whole thing without saving and either my laptop died, I accidentally closed the window, or some other occurrence lead me to losing all of my work. SAVE. OFTEN.

GIMP will default to a file extension of .map and that's okay. We're going to change that in a minute, but go ahead and save as a .map.

Step 6: Two Hands, a Flashlight, and a Map of the Area

Once you've saved the .map file find the place where you saved it and change the extension from .map to .html. You'll get a warning message saying it might screw something up, but it's okay. Trust me. Once the extension is changed open the file with a Notepad and you'll see the source code of your (almost) finished product. The new.html file is going to act as pattern that it will lay over an image, so we'll need to change something about the code.

The area I've highlighted in the code needs to be changed to the source location of the image; i.e. where you're hosting the file. This information is quite easy to get. Upload your file to wherever you'd like and, once it's there, right click and select Copy Link Address (or whatever your browser's equivalent option is, I use Chrome). Once you've changed the code and have your image upload you simply need to copy ALL of the HTML code from your .html file and paste it into your wiki, blog, etc. EASY PEASY!

Step 7: Final Product


MansukhS made it! (author)2016-05-04

Here is the link of best solution

WilliamB210 made it! (author)2016-04-02

I'm on a Mac and managed to get all the way through this process until the last step, which has me stymied. I uploaded the jpeg on which the image map is based to a page on my website. Then I got the image's URL and pasted it into the image source between the " " marks. However, the image will not display. Instead, I get a box with a question mark. Even though clicking on the question mark will take me to my web page, the image itself will not display. Help!

dlewisa made it! (author)2013-02-05

I am in awe of your GIMPiness.

Sunkicked made it! (author)Sunkicked2013-02-05

I think I need to host the image somewhere else in order to make it work properly.

Sunkicked made it! (author)2013-02-04

GAH! Need to work on how the image blows up and screws with the map! Update coming, I promise!

About This Instructable




Bio: I was born at a very early age...
More by Sunkicked:How to Make an Image Map Using GIMPThe Perfect Cup of CoffeePerfect Pumpkin Perforating
Add instructable to: