Image

Prev Next

Editorial purpose

Shows a Photo, in its original proportions or at a chosen aspect ratio, with its description as caption and its credits. Tapping it opens the photo in full-screen mode.

Required FORGE entity

This module requires the photo entity.

Parameters

Visual

Label

Type

Description

Hide module

Toggle

Hide the module.

Hide description

Toggle

Hide the description of the image.

hideDescription hides caption and credits under the image; the full-screen view still shows the caption.

Ratio

Selection

Default: original proportions.

Options: square (Square (1:1)); portrait (Portrait (3:4)); landscape (Landscape (16:9)).

ratio crops the image to square (1:1), portrait (3:4) or landscape (16:9); when empty, the image keeps its original proportions.

Remove top spacing

Toggle

Remove the spacing above the module.

Remove bottom spacing

Toggle

Remove the spacing below the module.

Data

Label

Type

Description

Image slug

Text

Get an Image entity by slug.

In the content picker, search by slug and select photo content.

Set slug to a FORGE Photo; without a matching photo the module is hidden.

The caption comes from the photo description field and the copyright from credits.

Required variables

Configure the following variables in Page Builder for the page to render correctly:

  • image_placeholder: Image shown when the photo has no image of its own.