Project | WXT | Basics | Download | Documentation | Samples

Script: images-element

The purpose of this element is to administrate images. Keep them in one or a few catalogs, and access them easily by id, with an image PI, see Image

The images-elements must be contained in the definitions-element.

<images location=""/>
location(mandatory) An URI which is absolute or relative to the script anchor. This is the location of a file with image descriptions, as below.

Examples:

<images location="myimages.xml"/>

A sample images file:

_myimages.xml

The catalog-attribute is optional. If not included the catalog containg the file is used as anchor. Note also that image locations may be absolute.

You may specify a link-attribute. The link is any URI, for instance the location of another image that appears on mouseclick.

You may also specify width, height, and alt elements in an image.

See Images for a full description.

Images files are validated according to this schema:

_images.xsd