image

image, tile type

The image tile displays a single image provided as a scalar text value. The text is typically a URL that the browser can fetch when rendering the dashboard.

show image "Logo" with "https://placehold.co/320x180.png"

For an image stored in the file explorer, convert its path to a URL with downloadUrl:

show image "Logo" { 1..3, 1..4 } with downloadUrl("/logo.png")

The path can also identify an image inside a filepack:

show image "Product" { 1..3, 1..4 } with downloadUrl("/catalog/images.fp/item.png")

The entry must already exist. See store product images in filepacks for the transfer and preview workflow.

The tile expects a scalar text. If the source is stored in a table, aggregate it before display:

table Assets = with
  [| as Url |]
  [| "https://placehold.co/320x180.png" |]

show image "From table" with single(Assets.Url)

The Envision compiler only enforces the scalar text requirement. Any image-format restrictions are handled at render time by the browser.