Product Selector

Fusion 5.12
    Fusion 5.12

    Image Formatting and Transcoding

    Table of Contents

    The Image tag displays images from a given field in a result. It will automatically resize, and cache the image for performance.


    This example shows how to display an image from a field:

    <media:image field-name="image" field-prefix="" validate="true" width="150"></media:image>

    In this case, the image URL is retrieved from a field named image. Before rendering, the image URL is prefixed with and its existence is validated. It is then resized to 150 pixels wide.

    To see all related attributes, see the media:image tag documentation.