Mobile Image

Display an image.

An image sourced from a URL or Base64-encoded file.

Image

Properties

Available properties for Mobile Image. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.

cornerType 'square' │ 'round' │ 'circle'

The corner style of the image.

id string

The name of the component.

mode 'date' │ 'datetime'

Date format for the input. Use datetime to allow date and time values.

pluginType string

The component type.

ratio '2' │ '1.33' │ '1' │ '0.75'

Aspect ratio (width / height) applied to the image.

src string

The source URL.