
This is primarily for two reasons:
mkdir $HOME/public_html/htimage
chmod a+rx $HOME/public_html/htimage
As you add other files below, you need to make each of them readable to everybody by doing this:
chmod a+r $HOME/public_html/htimage/*
This could entail the use of a painting or drawing program, as well as some image cleanup tools. Windows users could use MSPaint, MSDraw, and LViewPro for these tasks (respectively). Mac users might use MacPaint, MacDraw, and JPEGView to the the same respective tasks; Unix users might use a bitmap editor, a drawing package, and XV to do the same things.
The 'jet plane and earth' drawing above (jetearth.gif) was produced by using Corel Draw to combine scanned images, Photo CD images, and objects drawn manually. The image was refined in LViewPro, then uploaded to the FortNet server using the WS_FTP program.
On this page the jetearth.gif image is represented by the following fragment of HTML code:
<A HREF="/cgi-bin/htimage/FortNet/HTML/Presentation/ImageMap/htimage/jetearth/jetearth.map"> <IMG SRC="image/jetearth.gif" ALIGN=LEFT VSPACE=10 ISMAP></A>
The VSPACE and ALIGN keywords are optional, but the ISMAP keyword is mandatory for imagemaps. The HREF portion invokes the htimage program, which uses the specified map file (in this case, /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/jetearth.map) to determine the 'hot spots' on the image.
For the jetearth.gif image, a file called jetearth.map was produced. It defines a rectangle around the image of the plane, a circle the corresponds to the red dot on the globe, and a circle corresponding to the globe itself. The file looks like this:
default /FortNet/HTML/Presentation/ImageMap/htimage/map1/invalid.html rect (1,0) (199,210) /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/plane.html circle (354,154) 7 /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/red_dot.html circle (372,101) 100 /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/earth.htmlNote that the globe's circle (4th line in the file) follows the circle corresponding to the red dot, so the red dot's circle has precedence over that of the globe.
The actual coordinates were determined by observation, i.e., by moving the mouse cursor around the jetearth.gif image in this file, making note of the coordinates displayed in the status box at the bottom of my Netscape window. Inelegant, yet effective. Most people would choose to use one of the image map tools listed later in this document.
The jetearth.map file was verified by ensuring that clicking on the plane caused /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/plane.html to display, clicking on the red dot made /FortNet/HTML/Presentation/ImageMap/htimage/jetearth/red_dot.htmlappear, etc. Clicking in the open space above the image of the plane caused the 'invalid' message to appear.