thumbnail macro
Zuletzt geändert von Sarah Groeneveld am 2026/07/13 15:00
Description
A replacement of [[image]] that displays an image as thumbnail with link to the full image.
Usages
It is created for syntax 2.0 and 2.1 and can be used in wysiwyg editor.
{{thumbnail image='404.png' height="50" keepAspectRatio="true"/}}
| Param | Description |
|---|---|
| image (required) | The image is in format {{{wikiName:} space.} page@} (imageName) just like it used in image syntax. http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages |
| width | parameter that defines the width of the displayed image. |
| height | parameter that defines the height of the displayed image. |
| keepAspectRatio | parameter to be used when only width or height is specified and not both to keep the same aspect of the original image. |