A Payload site, ready to clone

Placeholder: rounded tiles in soft blue and orange

Images get a caption, a credit and a description

Placeholder: concentric circles in violet
Concentric circles in violet. The caption takes the colours of the section’s style.Image: APEX demo, drawn by pnpm seed:demo

Under the image

This image’s caption and credit come from its Media item, not from this block: edit them in Media, and every block that shows the image follows.

Three new fields

Next to the alternative text, each Media item now has a caption and a description, written per language, and a credit, the same in every language. Write the credit whole, such as “Photo: Ana Pérez”: the site adds nothing to it. All three are optional.

Where they show

The Image with text block shows the caption and then the credit under its image; an image with neither looks as before. The description is for editors and for a project’s own templates (a gallery, a press page): no block shows it. Other places, such as a post’s featured image, don’t show the caption yet.

Captions, in the demo

The home page and the inverted section on the Block styles page show both images with their captions.

Open Block styles