Media Gallery

Adds justified, grid and lightbox views to the Payload media library

Community 29 508/wk MIT v1.2.0

Installation

pnpm add @sitebytom/payload-media-gallery

About

Media Gallery replaces the plain media table in the Payload admin with visual layouts. Editors can switch between justified rows, a grid, and the original list, and select several files at once with Cmd, Ctrl or Shift clicks.

Images open in a lightbox with zoom, pan, keyboard navigation and touch support. Video and audio files play from the gallery, and videos show hover previews. Each card can open a quick edit drawer, and cards can be dragged into a custom order on collections that allow it. The gallery works in the All Media view only, not inside folders.

Package info

Package name
@sitebytom/payload-media-gallery
Latest version
1.2.0
Unpacked size
233 kB
License
MIT
Weekly downloads
508
Last publish
Feb 3, 2026

Similar plugins

More in Media

Live aspect ratio previews with crop and focal point editing for image uploads

Search Unsplash, Pexels and Pixabay stock images and videos from upload collections

Lets editors crop uploaded images in a modal and generates resized variants per preset

Curated YouTube creator watchlist with per-channel rules, a review queue and click-to-play embeds

Grid gallery with lightbox and bulk upload for a Payload upload collection

Read-only previews of uploaded documents in the admin, including Office files and PDFs