15.2. Image Map

In Web sensitive images are frequently used to get some effects when defined areas are enabled by the pointer. Obviously the most used effect is a dynamic link to another web page when one of the sensitive areas is clicked on. This “filter” allows you to design easily sensitive areas within an image. Applications for website design have this as a standard function. In GIMP, you can do this in a similar way.

This plug-in lets you design graphically and friendly all areas you want to delimit over your displayed image. You get the relevant part of html tags that must be merged into the right place in your page html code. You can define some actions linked to these areas too.

This is a complex tool which is not completely described here (it works about like Web page makers offering this function). However we want to describe here some of the most current handlings. If you want, you can find a more complete description in Grokking the GIMP with the link [GROKKING02].

This filter is found in the main menu under Filters → Web → Image Map….


The menu bar is similar to the main menu, only a few menus or menu entries are different:

File
Save, Save As

Contrary to other filters, this plug-in doesn't make an image but a text file. So you must save your work in a text format.

[Tip] Tip

With View → Source you can preview this text file content.

Open, Open recent

In the plug-in you can open the saved text file. The areas defined in your file will be loaded and overdisplayed; if the displayed image is not the original one or not with the same size, GIMP will ask you for adapting the scale.

Edit
View

This menu offers you special functions:

Area List

Here you can hide or show the selection area.

Source…

Here you see the raw data as you would save it to or read it from a file.

Color, Gray

You can select the image mode here and work with a Grayscale display.

Mappings

You will seldom use this menu, since you can more easily access selection tools by clicking on icons on the left of the working area.

Tools

With the “Tools” menu you can create guides and even regularly spaced rectangular areas.