Photoswipe Masonry Gallery


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

See a demo here


  • Screenshot Default gallery layout
  • Screenshot Popup layout


  1. Upload /photoSwipe-masonry/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Upload some photos to the post or page where you want the gallery
  4. Use WordPress to create a gallery and insert it in the page


Good Masonry gallery plugin

Was able to remove two plugins – a Masonry gallery one, and a lightbox one – and replace them with this single, better plugin.

Unlike at least one other Masonry gallery plugin I tried, this one allows captions to be displayed below images.

I like the way it doesn’t change the WP gallery screen in the editor. Keeps things simple.

Very nice

This plugin works really well – I’ve tried quite a few gallery and lightbox plugins, and I like this one the most. I hope the developer will keep working on it, keeping it up-to-date and improving it. For example, it would be nice to have the possibility to change options (esp. image size) for individual galleries and to show individual images on a page as part of a gallery when you open them.

Excellent Implementation

Works very well out of the box. Would like to see the ability to customize the Photoswipe options without manually editing the javascript, but that’s not super necessary!

Read all 26 reviews

Contributors & Developers

“Photoswipe Masonry Gallery” is open source software. The following people have contributed to this plugin.




  • fix for WP 4.6.1


  • Now runs from function to simplify AJAX support


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


  • Fix for captions in full screen
  • Tidied code


  • Major update with support for single images in posts


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


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


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


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


  • Yoast fix


  • css fix


  • photoswipe dist update


  • photoswipe dist update


  • This is the first version