Skip to main content

Image

Displays an image. Supports online URLs, blob URLs, and data URLs.

Signature

Attributes

Runtime behavior

  • Static https images may come from any HTTPS host.
  • Dynamic Src must match Widget.ImageHosts; use * or *.cdn.com for one-time approval.
  • Blob URLs (from Data Type="Binary" or Resources Binary) render directly.
  • Without W the width is 100%; without H the height is automatic.
  • Cropping uses object-cover.

Example

Gotchas

  • A failed remote image shows no placeholder; use If on the data state when you need one.
  • Dynamic images that do not match ImageHosts do not render; the remote host still sees the request IP, so use a trusted host or Blob for sensitive content.
  • Large images consume memory; keep W/H small.