IMAGEMAP(1)

NAME
imagemap - The WWW image mapper

SYNOPSIS
http://your.site.name/cgi-bin/imagemap/~USERNAME/mapfile

DESCRIPTION OF IMAGEMAP
IMAGEMAP is a program that lets you handle imagemaps on the WWW. An imagemap is basically a picture (for example a GIF file) that has been divided into areas. A user with a browser that understands imagemaps (most modern graphical browser understand imagemaps) can then click on a certain part of the image. An area-specific action then occurs.

For example, consider a GIF pictures with two areas on it: a box on the left side and a circle on the right side. Then the user who created the pictures can define what will happen if the remote user clicks on the box, what will happen if the circle is pressed, and also what happens if the user clicks on the picture, but not on the box or the circle (the default).

IMAGEMAP
Imagemap is not a program that allows the user to define the map. There are other programs that do this; for example, mapedit is a good one. Imagemap is the program that handles the actions for the WWW. What a user must do is create a map file (either by hand, which is not very easy, or by using a program like mapedit). Then, he or she must use something like the following in his/her WWW page:

<A HREF="http://site/cgi-bin/imagemap/~USER/pics/image.map">
<IMG SRC="pics/image.gif" ISMAP></A>

In other words, make a HREF anchor to the imagemapper and use an image as the contents of the anchor. Do not forgot to specify the ISMAP keyword in the IMG tag.

ACKNOWLEDGEMENTS
I thank all the members at MCGV Stack who are actively involved in the entire WWW happening. I thank the NCSA for creating the original version of this program. See http://hoohoo.ncsa.uiuc.edu/ for details about the NCSA distribution.

SEE ALSO
http://www.stack.nl/~sven/xs-httpd/
httpd(1), xspasswd(1), clearxs(1), readxs(1), gfxcount(1), xsindex(1), httpdc(1)

COPYRIGHT
All the programs in the XS-HTTPD package are copyright (C) 1995, 1996 by Sven Berkvens, except the imagemapper.

AUTHOR
The author of the XS WWW server and its accompanying programs is Sven Berkvens (sven@stack.nl). I made all the programs, except the imagemapper, which I took from the NCSA distribution, but I cleaned it up.