Wiki: Header Image Directive

You're viewing a prior revision.
This revision was published on 25 October 2026 17:47.
The current version was published on 25 October 2026 18:09. View Current

The {{HeaderImage}} directive specifies the full-width hero image displayed at the top of an article above the title.

Syntax

Reference an uploaded file article by its slug:

{{HeaderImage slug-of-file-article}}

				

or explicitly using the file: namespace prefix:

{{HeaderImage file:slug-of-file-article}}

				

Focus

The hero frame is wider than most photos on large screens, so part of the image is cropped. By default the top stays in view and the bottom is cut. Add Focus to keep a different part in view:

{{HeaderImage file:slug-of-file-article |#| Focus=center}}

				

Other values are ignored and the default applies.

Rules and Resolution

Example

{{HeaderImage file:byte-volume-1-issue-1-september-1975-cover}}
{{Eyebrow MAGAZINEISSUE}}
{{Subtitle Volume 1, Issue 1}}

# BYTE - September 1975

				

Return to the Formatting Guide.

Published on: 25 October 2026 17:47