OPF
CatalogsLayouts recordView source

Image

Let one picture carry the message. A photo close to the frame's shape fills it with a light crop (at most 7.5% off each edge); any other picture, a diagram or an SVG is shown whole at its own proportions (fit auto). Add a short title or caption to explain what the audience should notice. For a full-bleed crop of any picture, set the image block's fit to cover; to never crop, contain.

Metadata

ID
image
Catalog
layouts
Source
catalog/layouts/image.json

Attributes

FieldValue
tagsVisuals
directioncolumn
regions[ { "name": "title" }, { "name": "media", "accepts": [ "image", "video", "diagram" ], "role": "media", "flow": "none", "bleed": true } ]
preview{ "vectorSrc": "https://www.pptx.gallery/layout-previews/image.svg" }
design{ "imageFit": "auto" }

Source JSON

image.json
{
  "$schema": "https://openpresentation.org/schema/opf-layout/v2",
  "id": "image",
  "name": "Image",
  "summary": "One picture, filling the slide or shown whole, under an optional title.",
  "tags": [
    "Visuals"
  ],
  "direction": "column",
  "regions": [
    {
      "name": "title"
    },
    {
      "name": "media",
      "accepts": [
        "image",
        "video",
        "diagram"
      ],
      "role": "media",
      "flow": "none",
      "bleed": true
    }
  ],
  "description": "Let one picture carry the message. A photo close to the frame's shape fills it with a light crop (at most 7.5% off each edge); any other picture, a diagram or an SVG is shown whole at its own proportions (fit auto). Add a short title or caption to explain what the audience should notice. For a full-bleed crop of any picture, set the image block's fit to cover; to never crop, contain.",
  "preview": {
    "vectorSrc": "https://www.pptx.gallery/layout-previews/image.svg"
  },
  "design": {
    "imageFit": "auto"
  }
}