Documentation
Parameters
- OBJECT: topic to generate a thumbnail for
- ALIGN: optional alignment of image, defaults to right
- SIZE: optional size of thumbnail
- TYPE: image rendering type, see documentation of ImagePlugin, defaults to simple
- CROP
- TOOLTIP: switch on/off tooltips for thumbnails, defaults to
on
Implementation
%STARTINCLUDE%%DBQUERY{
"thumbnail"
topic="%OBJECT%"
format="$percntIMAGE{
\"$expand(thumbnail)\"
topic=\"$web.$topic\"
align=\"%ALIGN{default="right"}%\"
size=\"%SIZE{default="48x48^"}%\"
type=\"%TYPE{default="simple"}%\"
crop=\"%CROP{default="on"}%\"
output=\"png\"
tooltip=\"%TOOLTIP{default="on"}%\"
}$percnt"
}%%STOPINCLUDE%
Test