PI: image
This PI will present a defined image in the running text.
<?_wxt image id=""?>
or define a new image and present it in the running text
<?_wxt image location="" id=""?>
The parameters are:
id (mandatory) |
The id of the image as it is defined in an imagefile defined in the script
Images
. Or the id of a new image, see below.
|
display (optional) |
Describes how this image should be displayed. Possible values are.
0: no diplay,
1: simply as an img-element,
2: the img-element wrapped in av div (styled: wxtimage),
3: the img-element wrapped in av neutral div with the subtext below,
4: the img-element and the subtext wrapped in a div (styled: wxtimage).
4 is default
|
-
|
The parameters below can be used when you define a new image.
A location is the trigger to define a new image.
The parameters are the same as the fields allowed in an images-fil,
Images
.
The newly defined image may be reused and is available in imagelists,
Imagelist
.
|
location (mandatory for defining a new image) |
The URI of the image. Absolute or relative to the file (template or content) requesting this PI.
|
width (optional) |
The width of the image (px,%).
|
height (optional) |
The height of the image (px,%).
|
subtext (optional) |
A simple, unformatted text
|
Examples:
<div>
<?_wxt image id="bs"?>
</div>