Skip to content

image

One photo across the whole slide, edge to edge, for a place, a moment or a scale the room should see.

The image layout runs one photo across the whole slide, edge to edge, for a place, a moment or a scale the room should see. You can set the title and one line of text over it, or leave the photo alone.

Example

lookbook / image-leftOpen full deck
decks/lookbook/slides/image-left.mdxmdx
---
layout: image
title: We deliver until nine at night
text: left
focal: center
budget: 25s
---

Six to nine: flowers and meal kits for people home from work.

<Media>

![The Old Town at dusk, windows and street lamps lit, a Wrenhaul rider on the road with the bike's light on](../assets/scenes/evening-street.svg)

</Media>

<Caption>Kestwick Old Town, 7:40 pm.</Caption>

<Notes>
`image` with `text: left` and `focal: center`, which keeps the rider on the right and leaves the dark sky and facades behind the text; use it when the words belong beside the subject, not under it.
Not everyone is in at lunchtime. The evening window runs from six to nine, so flowers and meal kits arrive when people are home: Fennick Florists is its biggest user, and Okra Kitchen's meal kits ride in it too.
</Notes>

Slide 22 of the lookbook deckView on GitHub

text: left sets the title and its line in the left third, over the dark sky, and focal: center keeps the rider in view when the picture is cropped to the slide. The caption takes the opposite bottom corner. The text is white on a dark scrim sized to it, whatever the surface.

A full-slide illustration with no text: a cargo-bike rider rides into an old town street past a no-vans sign while a delivery van waits at the bollards.
lookbook / image-aloneOpen in the deck

text: none shows the photo alone. The slide still needs a title:, but it is not drawn.

When to use it

  • One picture makes the point, with at most a line of text. When the photo needs more than that beside it, use split.
  • Put the text where the photo is calm (sky, road, wall), not over the subject. text: takes bottom (the default), left, right or none.
  • Keep the line short. The body takes up to 24 words along the bottom and 14 in a third. The title takes up to 44 characters.
  • Credit the photo in <Caption>, up to 14 words.
  • Use a photo at least 1920 pixels wide, and set focal (top, center 30%) to keep the subject in view when it is cropped to 16:9.
  • For a screenshot, map or chart, treatment: plain shows it in its own colors; a product screen shown whole is better on screen.

The layout defaults to the inverse surface and hides the page chrome (chrome: false).

Reference

Frontmatter
layout: image
Surface
inverse
Title
required, 44 characters at most
PowerPoint
title-only slide

One photo across the whole slide, edge to edge, for a place, a moment or a scale the room should see. text: puts the title and a line of text over it along the bottom (the default), in the left or right third, or leaves the photo alone (none). Text over the photo is always white on a dark scrim sized to it, whatever the surface, so it reads on any photo; the caption (a credit, a place and date) gets its own in the opposite corner, and the photo alone has none. Put the text where the photo is calm (sky, road, wall), not over the subject. focal keeps the subject in view when the photo is cropped to 16:9; use a photo at least 1920 pixels wide. Use split when the photo needs more than a line of text beside it. Defaults to the inverse surface and hides the page chrome.

A slide in the image layout: A rider stops at nine doors an hour.
A lookbook slide in this layout, not the example belowlookbook / image-bottom

Slots

SlotTakesBudgetWhat goes in it
bodytext24 wordsOne line under the title, over the photo; leave it out for a title alone.
<Media>requiredimage—The photo: one <img> with alt text, or a markdown image, from the deck's assets/. It is cropped to fill the slide.
<Caption>text14 wordsA credit or place and date, in the bottom corner opposite the text.

Frontmatter fields

FieldValuesHow to use it
eyebrowtextWrite a few words of at most 40 characters, for example eyebrow: Budget committee, or leave it out.
textbottom (default) left right noneWrite text: left or text: right to set the title in that third, text: none for the photo alone, or leave it out for the bottom.
focaltextName the part of the photo to keep when it is cropped, as a CSS position: focal: top, focal: center 30% (a face in the upper third) or focal: 40% 20%.
treatmenttextName one of the brand's image treatments, for example treatment: plain (every brand has it) to show a screenshot, map or chart in its own colors; deck brand --json lists them under imagery.treatments.
chrometrue false (default)Write chrome: false to hide the page number, logo and progress bar on this slide, or chrome: true to show them.

Variants

  • text left — body: 14 words
  • text right — body: 14 words

Example

---
layout: image
title: "This is what 25% canopy looks like"
eyebrow: "Westgate, July"
---

Every street in Eastgate could look like this by 2040.

<Media>
  <svg viewBox="0 0 1600 900" role="img" aria-label="A street under a full canopy, drawn"
    preserveAspectRatio="xMidYMid slice" style={{ width: "100%", height: "100%" }}>
    <rect width="1600" height="900" fill="var(--brand-color-surface)" />
    <circle cx="460" cy="400" r="300" fill="var(--brand-color-border)" />
    <circle cx="1160" cy="380" r="340" fill="var(--brand-color-muted)" />
    <rect y="720" width="1600" height="180" fill="var(--brand-color-border)" />
  </svg>
</Media>

<Caption>Westgate, July 2026.</Caption>

<Notes>
Let the photo sit for a breath before you say the line.
</Notes>

Common mistakes

  • A full line of text in a third. The “text left” and “text right” variants cut the body from 24 words to 14:

    $ deck lint launch-review
    decks/launch-review/slides/evening.mdx
      error   content-budget (evening): The body slot holds 18 words; its layout allows 14 (text left).
              Fix: Cut it to the essentials, split the slide, move detail into speaker notes, or pick a layout made for more content (`deck layouts`).
    
    launch-review: 1 error, 0 warnings in 1 slide (1 step checked).
  • The photo outside <Media>. A Markdown image written at the top level is not the photo slot, and deck lint reports a schema error: “The image layout needs its media slot.”

  • A small photo. Stretched across the slide, it gets a low-res-image warning, such as “street.png is 640x360 pixels but is drawn at 1920x1080 canvas pixels.”

  • A body with text: none. Only the photo and the caption are drawn, so a line of text under the frontmatter does not appear.

  • split: the photo in part of the slide, with a paragraph or bullets beside it.
  • gallery: two to four pictures on one slide.
  • screen: a product screen shown whole in a drawn frame, never cropped.
  • section: opens a part of the talk and can take a photo in its right five columns.

Adding images, the paths they take and what lint checks are on media.

Type to search…

↑↓ navigate↵ selectEsc close