onweb Pty Ltd

ImageMap Help

The htimage program has been installed on onweb's server and has been made readily available to you. There is no need to install an imagemapping program in your directory. Once you have selected an image and created a corresponding map file, you're ready to add the HTML code which pertains to the imagemap. Since the htimage program is written by CERN, your map file should follow CERN format as discussed earlier.

In order to test the imagemap, you must first upload the image and map file to your directory. The three files needed to make the image fully active will reside in the following directories:

 /cgi-bin/htimage    ...imagemap program (supplied by onweb)*
 /user_dir/image.map ...map file
 /user_dir/image.gif ...image

* refers to the server's cgi-bin directory and not your local cgi-local directory.

For non-domain user accounts:
The HTML code snipet below is derived from the sample code on IHiP's home page and the aforementioned file structure. Merely substitute the file names for the respective image and map file in the following example:

 <A HREF="/cgi-bin/htimage/user_dir/image.map">
 <IMG SRC="/user_dir/image.gif" ISMAP></A>

For virtual domain accounts:

 <A HREF="/cgi-bin/htimage/image.map">
 <IMG SRC="image.gif" ISMAP></A>

If the image and/or map file resides in a subdirectory, this additional path information needs to be included in your HTML.


Please refer questions to support@onweb.com.au

Copyright © 1997-2003, onweb Pty Ltd. ACN 078 878 163. All Rights Reserved.