Displaying images with the image macro
Release 1.0 - ...
The image macro provides advanced formatting options to display images. Most settings that apply to ImageProcessor can be applied using the image macro, resulting in high quality realtime image generation without changing the original image.
Instead manually creating imageprocessor commands, you can use <se:image>
to generate calls to ImageProcessor, while keeping the option of entering most of the attributes that you would find in a <img ...>
tag in standard HTML.
How does it work ?
You can add instructions to Image by using its parameters. The SXML Reference has a full listing of all parameters of the Image macro. This section provides additional usage information for the parameters specifically used to create ImageProcessor calls.
Smartsite SXML | Copy Code |
---|---|
<se:image location="/Images/MyImage.jpg" filetype="gif" rotate="20" rotatebackcolor="transparent" /> |