Manual
Blocks

    Media block

    A picture says more than a paragraph. The media block places a single image, or a short video, on your page, in the width and position you choose. It can open in a lightbox for a closer look, carry a caption and even be a link. It is the simplest way to bring a page to life.

    Let's dive in.

    Purpose and when to use

    Sometimes the page needs a picture: a photo of your building, a screenshot, a diagram, a short clip. A media block shows it at the size you want, close to the text it belongs to.

    Use it for illustrations, screenshots, banners and photos that deserve a closer look. For a picture next to a text, the image and text block does both in one. For several pictures in rows, place media blocks in a grid. Choose the picture from your media library, where you also set its alt text. See Media.

    What makes it handy

    Any size, any place

    Show a picture at a width you choose, aligned left, centre or right, or run it edge to edge across the whole page.

    A closer look

    Let visitors click the picture to see it full size in a lightbox, with a caption on the page and a longer one in the lightbox.

    Picture, caption, link

    Add a caption, give it a background colour, or make the picture a link to another page.

    The media block in action

    Three variations. Each one changes more than one thing: the width, the position and what happens on a click. The examples below are real media blocks, with a library picture.

    A centred picture

    Sixty percent wide, centred, with a caption.

    The standard way to place an illustration or a screenshot in the flow of a page.

    folder met twee foto's waar bergen opstaan

    A picture from the media library, with a caption below it.

    A thumbnail with a lightbox

    A small picture on the left that opens full size.

    A click opens the picture in a lightbox. The short caption stays on the page, and a longer one appears in the lightbox. Good for screenshots and diagrams with small details.

    A drawing of a woman adding a piece to a puzzle

    Click the picture to see it larger.

    Edge to edge

    Fullscreen position, with a coloured caption.

    A picture that runs across the full width of the page, whatever the content width. The caption sits on a colour from your theme.

    Sketch of a woman holding a map marker icon

    Fullscreen, edge to edge.

    What you can set

    • Media: an image or a short video from your media library. Any aspect ratio works.
    • Position, width and alignment: the default position takes a width as a percentage and is aligned left, centre or right. Fullscreen runs the picture across the full width of the page.
    • Fit: how the picture fills its space: cover (the usual choice), contain, fill, scale down or none.
    • Lightbox: let visitors click the picture to see it full size.
    • Captions: a caption below the picture, with an optional background colour. With the lightbox on, the caption is shown in the lightbox, and a separate caption can stay on the page.
    • Link: make the picture a link to a page or address.
    • Row background colour: the colour of the full-width row behind a media block that stands on its own.

    What visitors see

    The alt text from your media library is read by screen readers and by search engines, so describe what the picture shows. Inside a grid, pictures keep the same shape so the rows stay even. With the lightbox on, a click on the picture opens it full size. Without alt text a picture is invisible to anyone who cannot see it, so fill it in. See Media.

    Alternatives

    • Image and text block: a picture with a text beside it, in one block.
    • Card block: a picture with a title, a text and a link, usually in a grid. See Card block.
    • Grid block: several pictures in tidy rows. See Grid block.
    • Carousel block: several pictures that visitors can flip through.
    • Video block: a video from YouTube or another platform, instead of a file.

    A picture breaks up a long text. Vary the width and the position from one picture to the next, and the page stays lively.

    Share: