http://www.boutell.com/mapedit/
MAPEDIT IS NOT FREE SOFTWARE.
See the "About" option of the Help menu for more information regarding the license governing this version of the product.
Table of Contents
How do I get started editing an image map?
How do I go back and edit URLs?
How do I delete unwanted hotspots?
How do I move hotspots and individual points?
How do I add points to polygons?
How do I remove points from polygons?
How do I target a hotspot to a specific frame?
How do I eliminate the blue border around my image?
Can I edit my existing imagemaps?
Can I convert between different imagemap formats?
Mapedit takes advantage of the gd graphics library, by Thomas Boutell, copyright 1994, 1995, 1996 by Cold Spring Harbor Laboratory. gd, in turn, benefits from GIF compression and decompression code made available by David Rowley and David Koblas, respectively. JPEG support is based in part on the work of the Independent JPEG Group. PNG support is based on LIBPNG, made available by Guy Eric Schalnat of Group 42, Inc. in association with Dave Martindale, Paul Schmidt and Tim Wegner.
Version 2.0 of Mapedit introduced several new features:
Client side imagemaps are now supported. Mapedit can edit HTML files directly to insert client side imagemaps.
GIF, JPEG, and PNG-format images are all supported.
By popular demand, hotspots can be moved, and individual points can also be moved, added and deleted.
Images are now loaded much more quickly, and image display quality has been greatly improved for all graphics drivers.
Many problems have been fixed, and the software has been enhanced to become more user-friendly.
The enter key is now accepted as a substitute for the right mouse button when creating polygons, and this is now the only place where the right mouse button is expected. The circle and rectangle tools still accept the right mouse button for compatibility.
Server-side imagemap files are a feature of NCSA, Netsite, O'Reilly, CERN/W3, and practically all other httpd servers; they allow you to turn a GIF into a clickable map by designating polygons, circles and rectangles within the GIF and specifying a URL for each to link to. Client-side imagemaps, which are available in the very latest web browsers, can do all of the above without the help of a special program on the server.
Unfortunately, creating good image maps by hand is a lot of work, because the points must be located using an editor not explicitly designed for the purpose.
mapedit allows you to load your image into a scrollable, resizable window and then draw polygons, circles and rectangles on top of it, specifying a URL for each. It also allows you to go back and delete these "hotspots", set a default URL for clicks outside of the "hot" areas, and so on. In addition, it allows you to associate comments of arbitrary length with each object if you are creating an NCSA-format map. (Most servers are compatible with the NCSA setting.) If you are creating a client-side imagemap, you can provide alternate text to be shown to users of non-graphical browsers.
However, client side imagemaps are ONLY compatible with the very latest web browsers. If you cannot require your users to use one of these browsers, you will want to use server-side imagemaps or use both types for the same image. Check the following list:
Netscape 2.0 beta 4 or better
Microsoft Internet Explorer
Spyglass Mosaic 2.1 and derivatives thereof
For more information about using imagemaps with the NCSA httpd and compatible web servers, see the following URL:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/imagemapping.html
The server does NOT have to reside on your MS Windows system, although that is possible. You can run Mapedit to your heart's content without a server, as long as you upload the resulting imagemaps to the server and install them correctly.
If you are unfamiliar with web servers, we suggest you consult the World Wide Web FAQ, available at the following URL:
Using the mouse, pull down the File menu and select Open/Create Map. A dialog box will appear.
In the upper field of this dialog box, you should enter the name of an existing HTML document (for client-side imagemaps) or a .map file (for server-side imagemaps). You can use the Browse button to explore your existing files easily. If you wish to create a new server-side .map file, be sure to select the correct type (NCSA or CERN; most servers are compatible with NCSA).
In the lower field, enter the filename of the image the map will describe. If you have selected an HTML document in which to edit a client-side imagemap, then this field will usually be filled out for you.
The image, which can be in GIF, JPEG, or PNG format, must already exist. Mapedit is not a paint program. To create your own images, use any paint program, such as Windows Paintbrush. Conversion utilities are widely available to convert .bmp files into other formats.
Click on OK when you have entered the filenames.
For server-side imagemaps, if the map file does not already exist, you will be asked if you want to create it. Click on OK to continue. If the map does exist, mapedit will automatically determine the server type of the file regardless of the radio button setting; you can change the file's type later to accommodate a new web server using the Save As... dialog box.
For client-side imagemaps, Mapedit will examine the HTML document to make sure that the syntax is reasonable. If your HTML document contains errors, Mapedit will warn you about them. Next, Mapedit will prompt you to select one of the inline images in the HTML document you have chosen.
mapedit will now load your image into memory. This will take a few moments, depending on the size of the image.
When the image has been loaded, it will appear in the main mapedit window, which should expand or shrink to suit the image. If the image is large, scrollbars for horizontal and vertical movement will appear.
You can navigate the image using the scrollbars; you can also resize the window as needed. \page
Image maps consist of areas that have been designated as "hotspots" which users can click on to fetch particular URLs. Mapedit allows you to draw these graphically on the screen.
More information about entering URLs
http://www.boutell.com/mapedit/
Relative URLs are also acceptable. Do not enter HTML tags in the URL field; only the URL is needed.
If you are creating an NCSA-format server-side imagemap, add any comments you wish in the comments window. These comments are purely for your own convenience.
If you are creating a client-side imagemap, be sure to enter a text alternative for each hotspot. When your page is viewed by a web browser that does not support graphics, the user will be presented with a menu of the text alternatives, instead of an image. (Not all text-based browsers understand text alternatives at this time.)
When you have completed your entry, click on OK or press RETURN to continue. The RETURN key only has this effect in the URL field, since multiple-line comments are allowed in the comment and text alternative window fields.
The hotspot will now be drawn completely. For polygons, a final side between the last point and the first point will be added automatically. If the outline is not easily visible on this image, try selecting Edit Hotspot Color from the File menu.
Move the mouse pointer to another point on the edge of the area of interest, tracing its outline. Note that a "rubber-band" line follows you from the point of the initial click.
Click again at this second point. Continue clicking points until you have outlined all but the final connection back to the first point. (You do not need to hold down the mouse button.)
Note that if you don't like the way your polygon is turning out, you can press the ESC key to cancel it. Then, start over with the left mouse button.
To complete the polygon, click the right mouse button, or press the ENTER key if you have assigned a different purpose to the right mouse button.
More information about entering URLs
More information about entering URLs
Mapedit will remember your choice of color indefinitely.
Important note: when hotspots overlap, the oldest gets the click. This is important because this is how the actual imagemap program will behave when your users click on your map in practice.
Information about removing individual polygon vertexes
Note that the corners of the hotspot are now highlighted. The center of the hotspot is also highlighted. You can click, hold and drag any of these points with the mouse. Dragging the center moves the entire hotspot.
Next, click anywhere in the image to add an additional point to the polygon. The polygon will grow to accommodate the extra sides.
If you wish to add additional points, select the polygon again each time.
Next, click on the vertex you wish to remove from the polygon.
If you wish to remove additional points, select the polygon again each time.
Information about removing entire hotspots
You can test the default URL by clicking outside of any defined hotspot when using the Test/Edit tool.
You may wish to get rid of the default URL completely. Once you have set a default URL, a Delete button will appear in the Edit Default URL dialog box. Click this button to remove the default URL.
Example: <IMG SRC="foo.gif" USEMAP="#foo" BORDER="0">
IMPORTANT NOTE: many users depend on this visual cue to identify images that link to other documents. If you remove the visual cue, be sure to make clear that the image should be clicked upon in some other way.
If a problem is encountered while writing this file (if you entered a bad path when you first created the map, for instance), use the Save As file menu option to enter a new name for the map file.
If you convert a client-side imagemap to server-side, alternative text fields will become comments. If you convert any other format to the CERN format, comments will be discarded.
If you convert a server-side imagemap to client-side, Mapedit will create a simple HTML document containing an inline image tag which points to the image you used when editing the map. This is done primarily as a demonstration. You can of course paste the map tags into any HTML document of your choice, and set an appropriate usemap attribute for the inline image.
http://www.boutell.com/mapedit