Project | WXT | Basics | Download | Documentation | Samples

PI: imagethumb

This PI will present a defined image as an expandable thumb in the running text.

<?_wxt imagethumb id=""?>

or define a new image and present it by thumb in the running text

<?_wxt imagethumb 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.
style (optional) A style that will override the wxtthumbwrapper-style defined in the stylesheet.
- 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 imagethumb id="bs" style="border-style:none"?>
 </div>