Photoswipe Masonry
PhotoSwipe Masonry takes advantage of the built in gallery features of WordPress. The gallery is built using PhotoSwipe from Dmitry Semenov.
Safe pick
Yes — Photoswipe Masonry is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 4.5/5 and was last updated 2 months ago, and scores 83/100 on our health check.
- Loved by users — 4.5/5 from 46 reviews
- Tested with the latest WordPress (7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Photoswipe Masonry stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| gallery | >100 |
| image gallery | >100 |
| lightbox | >100 |
| masonry | #2 |
| photoswipe | #2 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.5 from 46 reviews
About Photoswipe Masonry
From the official readme · v1.3.0Description
PhotoSwipe Masonry is an image gallery plugin for WordPress built using PhotoSwipe from Dmitry Semenov. photoswipe
PhotoSwipe Masonry takes advantage of the built in gallery features of WordPress. Simply use the WordPress admin to create a gallery and insert it in the page.
You may need to adjust the size of the thumbnails to suit your theme in the settings.
Options are under Settings > PhotoSwipe
The PhotoSwipe Masonry gallery plugin allows you to:
- Upload multiple images at once
- Easily order images via drag and drop
- Add a title and caption
Via the options panel you can modify:
- Thumbnail size
- Full image size
Some other features include:
- Keyboard control
- Supports multiple galleries
- Block editor support with a “PhotoSwipe Masonry Gallery” block, plus a Masonry option for the standard Gallery block
- Simple columns and spacing controls
How to add a masonry gallery (block editor)
- Edit a post or page and click the + (Add block) button.
- Search for “masonry” or “photoswipe” and choose PhotoSwipe Masonry Gallery. You can also type
/masonryin an empty paragraph. - Click Upload or Media Library and choose your images. Drag images in the gallery to reorder them.
- With the gallery selected, open the block settings sidebar (the gear icon, top right) and find the PhotoSwipe Masonry panel.
- Set Columns (1-8) and Spacing (0-60px).
- Save or update the page. Visitors can click any image to open it in the PhotoSwipe lightbox.
Turn an existing Gallery block into a masonry gallery
- Select the Gallery block. If a single image is selected, click the “Select parent” arrow in the toolbar to select the whole gallery.
- In the block settings sidebar, open the PhotoSwipe Masonry panel.
- Turn on Masonry layout, then set Columns and Spacing.
You can also select a Gallery block, click its icon in the toolbar and transform it into a PhotoSwipe Masonry Gallery. To go back to a standard gallery, turn Masonry layout off.
Shortcode galleries (classic editor)
Create a gallery with the Add Media button, or add a shortcode such as [gallery ids="1,2,3" columns="3"]. Existing shortcode galleries keep working as before and use the thumbnail settings under Settings > PhotoSwipe.
Good to know
- Masonry galleries show two columns on screens narrower than 650px.
- Masonry galleries always open images in the PhotoSwipe lightbox, so the Gallery “Link to” setting is ignored.
- Images must come from the Media Library. A gallery that contains an image inserted from a URL shows as a standard Gallery.
- Image captions are shown under thumbnails when “Show captions on thumbnails?” is enabled under Settings > PhotoSwipe. Captions always appear in the lightbox.
See a demo here
Installation
- Upload
/photoSwipe-masonry/to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- In the block editor, add a PhotoSwipe Masonry Gallery block and choose your images (see “How to add a masonry gallery” above)
- Or, in the classic editor, use WordPress to create a gallery and insert it in the page
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
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Photoswipe Masonry alternatives
All gallery plugins →FAQ
Photoswipe Masonry: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Photoswipe Masonry free?
Yes. Photoswipe Masonry is free to download and use from the official WordPress.org plugin directory.
Is Photoswipe Masonry safe to use in 2026?
Yes — Photoswipe Masonry is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 4.5/5 and was last updated 2 months ago, and scores 83/100 on our health check.
How many websites use Photoswipe Masonry?
Photoswipe Masonry is active on 6K+ WordPress websites and has been downloaded 181,763 times since it launched in December 2014. It was downloaded 1,408 times in the last 30 days.
Does Photoswipe Masonry work with WordPress 7.1?
Yes. The developer has tested Photoswipe Masonry up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Photoswipe Masonry need?
Photoswipe Masonry requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Photoswipe Masonry last updated?
The latest version, 1.3.0, was released on October 14, 2026 (2 months ago).
Who makes Photoswipe Masonry?
Photoswipe Masonry is developed and maintained by THRIVE - Web Design Gold Coast.
What are the best alternatives to Photoswipe Masonry?
The most popular alternatives to Photoswipe Masonry are Smart Slider 3 (800K+ installs), Slider, Gallery, and Carous… (500K+ installs) and Photo Gallery, Sliders, Pro… (300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


