Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Photoswipe Masonry Gallery icon

Photoswipe Masonry Gallery

v1.3.0
by THRIVE - Web Design Gold Coast · 4.5 (46 reviews)

PhotoSwipe Masonry takes advantage of the built in gallery features of WordPress. The gallery is built using PhotoSwipe from Dmitry Semenov.

6K+ active installs Updated Oct 14, 2026 Tested to 7.1.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Photoswipe Masonry Gallery

About Photoswipe Masonry Gallery

PhotoSwipe Masonry is a WordPress plugin that allows you to create image galleries using the PhotoSwipe feature. It has options to upload and order images, add titles and captions, and modify thumbnail and full image sizes. It also supports keyboard control and multiple galleries.

Screenshots

Photoswipe Masonry Gallery screenshot
Photoswipe Masonry Gallery screenshot

Changelog

1.3.0

  • Add a Masonry layout option to the standard Gallery block, with columns and spacing controls and an editor preview.
  • Add a “PhotoSwipe Masonry Gallery” block to the block inserter.
  • Masonry Gallery blocks open in the PhotoSwipe lightbox and use two columns on small screens.
  • Fix the lightbox failing when an image caption contains a link.
  • Existing [gallery] shortcode galleries are unchanged.

1.2.36

  • Fix masonry layout on small screens: galleries now display in two columns below 650px and re-layout on resize.
  • Load gallery scripts in the footer with proper dependencies, and cache-bust the inline CSS/JS on change.
  • Add Requires PHP and License metadata.

1.2.35

  • Update compatibility metadata after testing with WordPress 7.1.3 and PHP 8.4.
  • Fix a PHP deprecation warning when initialising settings on first activation.
  • Initialise masonry after the gallery markup is ready, including on block themes.

1.2.34

  • Refresh the WordPress.org banners and plugin icons with abstract masonry artwork.
  • Update the gallery screenshot and caption to show the current three-column masonry layout.

1.2.33

  • Update the plugin release version to 1.2.33. No gallery behaviour changes.

1.2.32

  • Readme update

1.2.19

  • Readme update
  • Added responsive styling for figure

1.2.18

  • Security update

1.2.17

  • Bug fix – Push error

1.2.16

  • Security update
  • Bug fix

1.2.15

  • Security update

1.2.14

  • Merge pull request from larsschellhas
  • Fixed lazy load issues and updated masonry and photoswipe libraries

1.2.13

  • Readme.txt update
  • Security update
  • Checking latest compatibility

1.2.12

  • Readme.txt update
  • Checking latest compatibility

1.2.11

  • Small PHP error fix

1.2.10

  • Readme.txt update
  • Checking latest compatibility

1.2.9

  • Meta update
  • z-index update

1.2.8

  • Meta update and testing for WP v5

1.2.7

  • Warning error fix

1.2.6

  • Readme and testing
  • See v2 dev https://github.com/thriveweb/photoswipe-masonry-v2

1.2.4

  • fix for WP 4.6.1

1.2.3

  • Now runs from function to simplify AJAX support

1.2.2

  • Fix loading images via url in gallery mode
  • Removed sharing for single images. Will try to add in future versions.
  • Code tidy

1.2.1

  • Fix for captions in full screen
  • Tidied code

1.2.0

  • Major update with support for single images in posts

1.1.2

  • Removed .entry-content img { max-width: none; }

1.1.1

  • masonry enqueued call causing issues. I rolled back to old style

1.1.0

  • fixed alt text
  • added white theme
  • added caption option
  • added masonry option
  • fixed masonry enqueue
  • added clear css
  • ie9 fix

1.0.6

  • gallery load from URL (#&pid=1&gid=2) fix

1.0.5

  • Yoast fix

1.0.4

  • css fix

1.0.3

  • photoswipe dist update

1.0.2

  • photoswipe dist update

1.0.1

  • This is the first version

Try other plugins