Working with Image Attachments
Views can use images that originate as scenario attachments.
Use the
vdl-attr attribute within an
<img> element and create an expression to locate the appropriate attachment and retrieve its
dataUrl property.
<img vdl-attr="={src: scenario.attachments('logo.png').dataUrl}" width="200" height="100" />It is best practice to set a fixed width and height (if known) so that the page doesn't jump when the images appear.