User Guide

The Web408
The File Information dialog is
displayed.
2 Select WWW Map default URL.
3 Enter a URL address.
4 Click OK.
If you don’t provide a default URL,
clicking outside the defined hotspot
areas has no effect.
Server-Side Image Mapping
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:
1 Select or create a layer or shape in
the exact place in your image
where you want a link created. For
information about working with
layers and setting general layer
preferences, refer to “Using Layers
and Layer Masks” on page 229.
2 On the Layers palette, select a layer
in the Layer list.
3 Click the palette menu arrow 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.corel.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 base URL to
use if the user clicks outside of
your defined hotspot areas. See
“To define a default URL for an
image map:” on page 407.
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.
Note
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.