hallowebsite Portfolio Grid

DE | EN

A Gutenberg block for magazine-style image rows: each image gets its own width and aspect ratio, and pairs can be stacked. It includes captions, an optional lightbox and clean stacking on mobile.

Download v1.0.1
Version
1.0.1
Updated
14. November 2026
File size
10,2 KB
Author
hallowebsite

Overview

hallowebsite Portfolio Grid is a Gutenberg block for editorial, magazine-style image layouts. You pick all images with one gallery button. Each image then gets its own width in percent and its own aspect ratio, so you can compose rows such as 60/40, 33/33/33 or one wide hero image. Two images can be grouped into a stacked pair, and captions are optional. An optional lightbox with navigation is built in, and the grid stacks cleanly on mobile.

Features

  • One Edit gallery button to pick and order all images.
  • Per image: width (%), aspect ratio (preset 1/1, 4/3, 3/2, 16/9, 3/1, auto or custom), object fit (cover/contain) and vertical alignment.
  • Row-based layout: images fill a row until 100 % width is reached.
  • Grouping: stack an image with the next one into a vertical pair.
  • Captions as an overlay, top or bottom, with an option to show them in the lightbox too.
  • Optional lightbox with previous/next and close.
  • Mobile stack with a configurable breakpoint (default 640 px).
  • Global gap (default 16 px).

Usage

  1. Add the block Portfolio Grid (Row).
  2. Click Galerie bearbeiten (Edit gallery) and choose your images.
  3. Select an image in the editor and set its width, aspect ratio, fit and alignment in the Element panel.
  4. Use the toolbar to group an image with the next one.
  5. In the Global panel, set the gap, captions, lightbox and mobile stack.

Block settings

SettingDefaultDescription
Gap (px)16Space between images and rows.
Captions anzeigenonShow captions on the grid.
Lightbox aktivierenoffOpen images in a lightbox.
Captions in Lightbox anzeigenoffShow captions in the lightbox too.
Mobile Stack / Breakpointon / 640 pxBelow this width every image takes the full width.
Breite (%)–Width of the image within its row.
Aspect Ratio / Object-Fitpreset / coverProportion and fit of each image.
Caption PositionuntenTop or bottom.

CSS classes

.rpg, .rpg__rows, .rpg__row, .rpg__item, .rpg__group, .rpg__media, .rpg__caption, .rpg__lightbox (with -prev, -next, -close, -caption).

.rpg__caption { background: rgba(0,0,0,.45); color: var(--global-palette9); }
.rpg__lightbox { background: var(--global-palette3); }

Changelog

Changed:
- Rebranding: neuer Name „hallowebsite Portfolio Grid“, Autor hallowebsite, Plugin-URI https://hallowebsite.de/plugins/portfolio-grid/
- Keine funktionalen Änderungen.