Using Imagemaps


Here's a clickable imagemap... try clicking on it...

***sorry...you'll need graphics to try this.***

and this is what the mapfile looks like.

poly http://www.inch.com/head.html 134,74 179,66 205,92 197,145 162,165 139,142 127,112 108,108 108,100 
poly http://www.inch.com/hand.html 236,127 258,97 285,86 312,109 296,160 271,174 230,135 
circle http://www.inch.com/nipple.html 197,214 204,213
default http://www.inch.com/notheadhand.html

note that the mapfile MUST end with the extension ".map" !!

the mapfile is located in the same directory as the gif file, and is created with a program like mapedit (windows) or Imagemapper (mac) your html should look like this:


<a href="http://www.yourdomain/PATH/yourmapfile.map" >
<img src="yourimage.gif" ISMAP >
</a>

where PATH is the path to your yourmapfile.map is your ascii text map file, with the ".map" extension, and yourimage.gif is your picture.

You should save your maps in NCSA format.

Oh... and mac users, you'll save yourself a lot of problems if you upload things like this:
pictures: (GIF's or JPG's) ---> raw data mode
html files: -------> text mode
map files: --------> text mode


The new "Apache" web server rolls imagemapping into the server, and it's set up to recognize ".map" as a server-handled mime type for imagemaps.