Orbeon Forms
Search…
Image

Availability

[SINCE Orbeon Forms 2016.1]

What it does

The fr:image component shows an image. Unlike fr:image-attachment, fr:image doesn't have an associated upload control and cannot be changed by the end-user of a form.
In addition, when in the Form Runner context, fr:image retrieves the resource while passing the Orbeon-Form-Definition-Version HTTP header when available.
NOTE: Prior to Orbeon Forms 2016.1, a plain xf:output was produced by Form Builder to achieve similar, but less explicit, behavior.

Basic usage

1
<fr:image bind="my-image-bind">
2
<xf:label ref="$form-resources/my-image/label"/>
3
</fr:image>
Copied!
The URL of the image is stored in instance data via a single-node binding, here using bind.

See also