Skip to main content

Picture

Purpose

The Picture ViewTemplate displays an image loaded from an EntityField. It is suitable for logos, profile pictures, product images, and similar visual content stored in the system.

Behavior

The image source is defined through pictureField. Optionally, pictureClickAction can be configured to execute an Action when the image is clicked.

Configuration

PropertyDescription
pictureFieldDefines the EntityField that contains the image data.
pictureClickActionOptionally defines an Action executed when the image is clicked.

Example usage

One possible use case is a company logo displayed in the header of a company view. In that setup, the logo is loaded from an EntityField such as COMPANY_LOGO, and clicking the image can open a larger version of it.

Implementation hints

The referenced field must contain valid image data. Typical supported formats include PNG, JPG, and GIF, depending on the client rendering behavior. If large images are stored, consider using a reduced version in pictureField and opening the full-resolution image through the click Action.

Notes

The click Action should be chosen so that image interaction remains predictable in the respective context.