
There are three files you will need to edit:
The format of this file is:
label : mapfileThe mapfile includes the full path to the mapfile.
default url circle url origin_x,origin_y perimeter_x,perimeter_y rect url vertex1_x,vertex1_y verterx2_x,vertex2_y poly url x1,y1 x2,y2 x3,y3 ... xn,ynurl is the name of the url to fetch when the hotspot is pressed.
<A HREF=/cgi-win/imagemap program/label> <IMG SRC=image ISMAP></IMG> </A>Note that some versions of Mosaic dont like the </IMG> tag. These can be omitted.
Unless you specify a default URL for your imagemap you will get a server error when you click on an area of the image which is not covered by a hotspot.
The mapfile is independant of the actual image that is used. If you change the image, remember to edit the mapfile.
The mapfile is edited by hand, getting the hotspots exactly right will take a bit of trial and error. Picture viewers will often tell you the position of your cursor within an image, this can help immensely when trying to locate the hot-spots.
it may be necessary to make all references to documents absolute when using imagemaps (ie the <A HREF=...>>; tag.