Project | WXT | Basics | Download | Documentation | Samples

PI: imagelist

This PI will present a list of imagethumbs that may be expanded by mouseover to show the image. The images must be defined in an images-list, see Images , or as an image, see Image .

<?_wxt imagelist?>

The parameters are:

thumbsize (removed) Defining the height of the thumbs, default is 100px. This parameter must be set in the stylesheet.
split (optional) Will insert a break before the thumbs for a new module. Possible values are yes and no. no is default.
The parameters below is to select the modules we want to select images from. Description below.
idlist (optional) A commaseparated list of module ids that we want to include. If this is set, the others (select, root and books) are ignored.
scriptpath (optional) The scriptpath is an xpath that is used on the script to select modules.
Sample: //module[@template='P'] get all modules with template P.
root (optional) The id of the module that defines the subtree we will make a map for.
books (optional) A commaseparated list of book ids that we want to include.
select (optional) Possible values are _siblings and _children.

Styleclass describing this PI is: wxtthumbwrapper and wxtimagelist. A popping image is identified and styled as wxt-img-popup, see distributed std styles.

The selected set of modules will be assembled according to the following rule:

  • if idlist is set, the collection is as defined in the idlist.
  • if idlist is not set, the collection is made up as the intersection of the modules spesified by root, book, scriptpath and select.
  • if neither idlist, root, book, scriptpath or select is set, all modules are selected, except those with books attribute: _never.