Image File Type Example

The filetype property sets the resulting image type of an image regardless the original image type. The following macro generates a JPG image and additionally sets the JPG quality to 70%.

Smartsite SXML CopyCode image Copy Code
<se:image
    location="SMARTSITELOGO"
    filetype="jpg"
    jpgquality="70"/>
Example Result CopyCode image Copy Code
<img src="/test.net?id=SMARTSITELOGO&amp;hid=img;ft=jpg;q=70" alt="Smartsite Logo Transparent" style="width:166px;height:56px" />