BACK TO DIRECTORY

Easy Justified Gallery – Photo Gallery Block with Lightbox

by Havoric

5.0
(1 ratings)

Easy Justified Gallery is a responsive photo gallery that lays your images out in tidy, full width rows without cropping them, the way photo sites do it. It does that one thing and nothing else. No upsells, no ads, no dashboard banners, no tracking.

Fast by design

The whole front end is 7.5 KB of JavaScript and CSS, and none of it is jQuery. Rows are worked out from the image dimensions WordPress already stores, so the layout is correct before a single image has downloaded and nothing jumps around as they arrive. Images load lazily, at the size they are actually displayed, using the srcset WordPress generates.

Assets load only on pages that really contain a gallery. A page without one downloads nothing at all, and a gallery that opens images in a new tab never downloads the lightbox.

Features

  • A gallery block for the block editor, with a live preview of the real thing
  • As many galleries as you like, each with its own images and settings
  • Reuse one gallery on any number of pages. Edit it once, every page updates
  • Rows justified from image aspect ratios, never cropped, never distorted
  • Captions off, on hover, or always visible, taken from the media library caption and falling back to alt text
  • A modern lightbox with pinch zoom, swipe, and keyboard navigation
  • Per gallery row height and spacing, overridable per placement
  • No jQuery, no frameworks, no build artefacts you did not ask for
  • Works with the block editor, the classic editor, widgets, and do_shortcode()

Blocks or shortcodes, your choice

Add the “Justified Gallery” block and pick a saved gallery, or choose images right inside the block. Prefer shortcodes? [easyGallery id="123"] renders a specific gallery and plain [easyGallery] still works exactly as it did in 1.x.

Screenshots

A justified gallery on the front end. Rows are filled edge to edge and no image is cropped to get there.

A justified gallery on the front end. Rows are filled edge to edge and no image is cropped to get there.

The Justified Gallery block, previewing the real layout inside the editor.

The Justified Gallery block, previewing the real layout inside the editor.

Building a gallery: pick the images, drag to reorder, set the layout, copy the shortcode.

Building a gallery: pick the images, drag to reorder, set the layout, copy the shortcode.

Choosing images from the WordPress media library.

Choosing images from the WordPress media library.

All your galleries in one list, each with the shortcode to place it.

All your galleries in one list, each with the shortcode to place it.

The lightbox, with zoom, swipe and keyboard navigation.

The lightbox, with zoom, swipe and keyboard navigation.

Plugin Details

Active Installs
10
Total Downloads
2,725
Version
2.0.0
Requires WP
6.5
Requires PHP
7.4
Tested Up To
7.1
Added
2016-11-07
Last Updated
2026-08-19 4:00pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0