Creating server-side image maps


In Corel Painter, you can define a layer as a clickable region. Corel Painter saves this image map information within a separate text file, which you can upload to your web server. It can then be accessed by a CGI script.

Because server-side image mapping is becoming obsolete, be sure to read the previous section on client-side image mapping support.

To create a server-side image map

Back to Top
1 Select or create a layer or shape in the exact place in your image where you want a link created.
2 In the Layers panel, select a layer.
3 Click the Layer options button , and choose Layer Attributes.
4 In the Layer Attributes dialog box, specify a name for the layer.
5 Enable the WWW Map Clickable Region check box.
6 In the URL box, specify a URL to associate with this portion of your image (for example, http://www.painterartist.com).
7 Click OK to return to the image.
8 Deselect the layer, then select the next hotspot in your image map. Try to avoid overlapping hotspot areas within an image map.
You can set a default URL to use if the user clicks outside of your defined hotspot areas. For more information, see To define a default URL for an image map.
9 Export your image to the GIF or JPEG file format. In the Save As GIF Options or Save As JPEG Options dialog box, enable either the NCSA Map File check box or the CERN Map File check box, depending on which format is recommended by your Internet Service Provider.
When you save the image, Corel Painter creates an additional text file that describes the clickable regions and their associated URLs.
10 Store both files (the image file and its associated image map definition file) on your web server, as directed in the documentation for your image mapping CGI script/program. Both files must be present for the server-side image map to work.

*

The RIFF format contains data about your image that is lost when you convert it to GIF or JPEG. If you want to edit the file later, save a RIFF copy before you generate a GIF or JPEG version.

Was this page helpful? Send feedback.