PhotoGrid
Hero + supporting grid for portfolio project detail pages. One full-width
heroImage at 16:9, followed by a gridImages array
of 2–4 images at 4:3. Three-image sets span the first image full width above
a two-column pair. Four-image sets render as a 2×2 grid. The
lightbox boolean (default true) enables a
native <dialog>-based full-screen viewer with keyboard
navigation. Emits ImageObject schema for every image.
heroImage— required ·{ src, alt }gridImages— required · array of{ src, alt }— 2 to 4 itemscaption?— optional string below the gridlightbox?—true(default) |falselayout?—"grid"(default) equal columns |"asymmetric"alternating 60/40 → 40/60 rowsvariant?—"light"(default) |"dark"|"brand"
gridImages×2 · lightbox=true · caption · variant="light" Shoreacres, Burlington — 4,200 sq ft custom build. Completed 2023. White oak millwork, heated concrete floors throughout, Nanawall system to rear terrace.
gridImages×3 · lightbox=true · no caption · variant="light" gridImages×4 · lightbox=true · caption · variant="dark" Oakville — Detached backyard suite, 640 sq ft. Permitted and completed in 18 weeks. Full kitchen, separate laundry, private entrance.
gridImages×2 · lightbox=false · variant="brand" gridImages×4 · lightbox=true · variant="light" layout="asymmetric" · gridImages×4 · row 1: 60/40 — row 2: 40/60 · variant="light" Shoreacres, Burlington — Custom build 2023. Row 1: exterior and rear terrace. Row 2: kitchen and primary suite.
layout="asymmetric" · gridImages×4 · variant="dark" layout="asymmetric" · gridImages×2 · single 60/40 row · variant="light"