Client-side Image Mapping:
map is a set of locations within a GIF or JPEG image.
The JPEG image above could use some rectangular maps to link to Areas A thru D, a circle could link from the alien's head, and a polgon could link from the alien's body. The active shapes have been drawn on a temporary Photoshop layer in the example below. It is only a guide for selecting the map coordinates.
The coordinates for the active areas are given in pixels. The upper left corner of the image is the zero point; the x-axis is 0 and the y-axis is 0 and any position on the image has an x and y value.
Be sure you have the ruler units set to read in pixels. This is set in the Preferences for Units and Rulers. The x and y positions of the cursor appear in the Info Window as shown below.
Mapped active layers are Rectangles, Circles, or Polygons. Rectangles are defined by the upper right and lower left corners. Circles use the center and the radius. Polygons use a connect-the-dots string of all the vertices. Below is the HTML for this map.
With the map built, all that remains is to apply it to an image. This is done in the tag for the image, shown below.
<img src="original.jpg" width="550"
height="320" usemap="#AlienAreas" border="0">
Include these items in your HTML file and you are done.