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
Srcmust matchWidget.ImageHosts; use*or*.cdn.comfor one-time approval. - Blob URLs (from
Data Type="Binary"orResources Binary) render directly. - Without
Wthe width is 100%; withoutHthe height is automatic. - Cropping uses
object-cover.
Example
Gotchas
- A failed remote image shows no placeholder; use
Ifon the data state when you need one. - Dynamic images that do not match
ImageHostsdo 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/Hsmall.