display-image

Overview

Version compatibility

The display-image component was visually updated in version 4.74.0 of JourneyApps Runtime.

Basic Example

<var name="assembly_image" type="photo" />

<display-image bind="assembly_image" />

Standard Attributes

bind

pagebind

Use src to display an image asset.

display-image cannot have both src and bind attributes.

src

Optional

Type: string

Default: unset

src can be used to display an image asset rather than a photo field or variable (assets are uploaded via OXIDE).

<display-image src="images/company_logo.png"/>

Use bind to display a photo field or variable.

display-image cannot have both src and bind attributes.

Advanced Attributes

show-if and hide-if

pageshow-ifpagehide-if

Last updated