Imagemap

This web page has been accessed  times since 1/25/2000.


Reference
See imagemap section on HTML 4.01 specification.
http://www.w3.org/TR/html4/struct/objects.html#h-13.6

Server-side Image Map

UCCS CAMPUS MAP
Click on the Building for the related web sites.

Client-side Image Map

UCCS CAMPUS MAP
Click on the Building for the related web sites.

With netscape navigator, you can see the url to be requested while moving cursor around the image map.
For the server-side image map, the status window shows the url similar to
http://owl.uccs.edu/~cs401/imap/uccscamp.map?155,93
For the client-side image map, the status window shows the url similar to
http://www.uccs.edu/~library
 

Server-side image map vs. Client-side image map

Server-side imag map involves additional communications and processing overhead at
the web server.  The coordinator will be sent as query string to a cgi/built-in program,
the map file needs to be read in, the corresponding url will be return with 302 code in
the Location meta info header.  The browser will then retrieve the web page.

Here is what happens:

bash# telnet owl 80
Trying 128.198.2.69...
Connected to owl.uccs.edu.
Escape character is '^]'.
GET /~cs401/imap/uccscamp.map?155,93 HTTP/1.0

HTTP/1.0 302 Found
Server: Netscape-Communications/1.1
Date: Thursday, 05-Mar-98 16:53:34 GMT
Location: http://www.uccs.edu/~library
Content-type: text/html
Content-length: 214

<HTML><HEAD><TITLE>Found</TITLE></HEAD><BODY><H1>Found</H1>
This document has moved to a new <a href="http://www.uccs.edu/~library">location
</a>. Please update your documents and hotlists accordingly.</BODY></HTML>Connec
tion closed by foreign host.

Client-side image map embeds additional url translation specification using the <MAP> tag in
the original web page (larger size). But the browser handles the translation to url and it is much quicker.

Steps of server side image map creation:

Apache Image Map Directives

AddHandler imap-file map
ImapBase map
#ImapDefault default.html
#ImapDefault error
#ImapDefault referer
ImapDefault map
#ImapMenu semiformatted

ImapDefault is used to handle the situation where the selection does fall in the specify area.
ImapMenu is used for text-based browers.

Steps of client side image map creation:

See imagemap section on HTML 4.01 specification.
http://www.w3.org/TR/html4/struct/objects.html#h-13.6

 

Here is the new uccsmap.

UCCS NEW CAMPUS MAP