make imagemapand you should be all set.
imagemapscript expects to find its configuration file as:
If you would like to change the location of this file, edit
cgi-src/imagemap.c, change the setting of
CONF_FILE, and recompile with
In this file, lines beginning with a # are comments. Every other non-blank line consists of:
name : path
name is the name of the particular mapping. You use it
when you reference the image.
path is the full path to the map configuration file for
Lines beginning with # are comments. Every other non-blank line consists of the following:
method url coord1 coord2 ... coordn
coord are each coordinates, format x,y. The number
method is one of the following:
For a circle. Coordinates:
For a polygon of at most 100 vertices. Each coordinate is a vertex.
For a rectangle. Coordinates:
urlis one of the following:
For example, if you have a
/usr/local/etc/httpd/cgi-bin/, named your map fish,
and used the image fish33.gif for the map, the following line of HTML
will reference it:
<A HREF="/cgi-bin/imagemap/fish"><IMG SRC="fish33.gif"
fish : /usr/local/etc/httpd/conf/fish.map
xvto get the coordinates.
Return to administration overview