image

Fetch an image from the provided URL and display it.

Syntax

<image src="URL-String" attributes> </image>

Attributes

Attribute

Values

Restrictions

Description

src

URL String

Required. Must be a fully qualified URL.

Set the background image of the component. 

height

top

bottom

Integers

 

It top and bottom are both specified, or height is specified, the image will be stretched to the height specified. Otherwise, the image’s native height is used.

width

left

right

Integers

 

It left and right are both specified, or width is specified, the image will be stretched to the width specified. Otherwise, the image’s native width is used.

Examples

The following example places an image at its native size:

<image src="http://whatever.com/logo.jpg" top="50" left="50"/>

The following example places an image and scales it to 200x100 pixels in size.

<image src=" http://whatever.com/logo.jpg" top="50" left="50" height="100" width="200"/>