Interaction on the
World Wide Web with
the Common Gateway Interface


Server Side Imagemapping

Check back later for a Tutorial on Client-side Imagemapping

Here's an image from my vast collection:

Silly Picture

Here's the code: <A HREF="/cgi-bin/imagemap/johnny/seminar/testmap">
<CENTER> <IMG SRC="/johnny/WWW/test.gif" ISMAP></center> <P></A>

The information from the browser about where in the image you clicked goes to a program with the server called imagemap that takes the rest of the path info as a pointer to a description file. The description file is where you put information about what you want to happen when a user clicks Where.

Here's the description file, testmap for the above image:

default /johnny/WWW/imagemapping.html circle /johnny/WWW/somethingelse.html 145,134 65,136

The "circle" is defined first by its center, ( 145,134 ) and then by a point on the radious ( 65,136 ).

Go to the NCSA Imagemap Tutorial