User Guide

Corel Painter 407
circular area as a circle and a rectangle
as a rectangle. Oval areas are exported
as rectangles.
Image maps are created using layers.
The size of the layer determines the
clickable area. For information about
working with layers, refer to “Using
Layers and Layer Masks” on page 229.
The size of the layer determines the size of the
clickable area, or hotspot.
Server-side image mapping handles
circles and ovals differently. With
server-side mapping, you can export
ovals. For more information on server-
side image maps, refer to “Server-Side
Image Mapping” on page 408.
To define a client-side image map:
1 Select or create a layer or shape in
the exact place in your image
where you want a link created.
If you can’t see the layer’s
marquee, click the palette menu
arrow on the Layers palette and
choose Show Layer Indicators.
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 define the
next area of your image map.
If there are two or more
overlapping areas in an image
map, the topmost one takes
priority.
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 the
Client Side Map File check box to
indicate that Corel Painter should
export an HTML file containing
the image map definition.
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.
When a client-side image map is
exported, Corel Painter exports both
the image and an HTML file. You can
then open the HTML file in a text or
HTML editor and copy the code into
another Web page.
To define a default URL for an
image map:
1 To define a default, or base, URL
to use when a user clicks outside of
defined hotspot areas in an image
map, choose File menu > Get
Info when no layers, shapes, or
plug-ins are selected.