Table of Contents

Image

Renders an image.

Node name : image

Attributes

Attribute Type Required Default value Description
name string true Name of the image to display
size string (small, medium, large, extralarge) false medium Defines image size size
Note

To display an image in a specific width and height, you cannot use the size attribute of the image component because it only accepts predefined sizes.
Instead, you have to use the layout:width and layout:height attributes to set the width and height of the image.

Examples

<image name="Customer" size="large" />
<image name="Logo" layout:width="1280" layout:height="768" />