
Web | 885
If there are two or more overlapping areas in an image map, the topmost one takes priority.
8 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.
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 the defined hotspot areas in an
image map, choose File Get Info when no layers, shapes, or plug-ins are selected.
2 In the File Information dialog box, enable the WWW Map Default URL check box.
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.
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
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.
Hello, im noob :)