xTxT Documentation

ImageThumb

Displays an thumbnailed version of an image in your document, with a link to the full-sized original. This element is designed to work with an xDrive-compliant CMS so that the resizing request can be handled dynamically.

In most respects, /imagethumb works identically to /image.
See Image for details on use.

/imagethumb
$src=foo.jpg
$alt=A picture of a Foo
$link=http://foo.com
$target=_blank
$style=padding: 50px;

Synonyms: /thumb, /imgthumb

Related Elements: /image

Notes

Currently, the thumbnail is fixed to a maximum size of 500x500. This means that the original image is reduced in size, so it will fit in a 500x500 box. If the image is already smaller, it is not modified. Aspect ratio is preserved to avoid distortion.

The image will be linked to its original.