Title: CTC Masonry Gallery
Author: UjW0L
Published: <strong>nuxwasun 21, 2021</strong>
Last modified: kɔnyasun 8, 2026

---

Search plugins

![](https://ps.w.org/block-for-masonry-gallery/assets/banner-772x250.png?rev=2535145)

![](https://ps.w.org/block-for-masonry-gallery/assets/icon.svg?rev=3735667)

# CTC Masonry Gallery

 By [UjW0L](https://profiles.wordpress.org/ujw0l/)

[Download](https://downloads.wordpress.org/plugin/block-for-masonry-gallery.2.8.0.zip)

[Live Preview](https://fon.wordpress.org/plugins/block-for-masonry-gallery/?preview=1)

 * [Details](https://fon.wordpress.org/plugins/block-for-masonry-gallery/#description)
 * [Reviews](https://fon.wordpress.org/plugins/block-for-masonry-gallery/#reviews)
 *  [Installation](https://fon.wordpress.org/plugins/block-for-masonry-gallery/#installation)
 * [Development](https://fon.wordpress.org/plugins/block-for-masonry-gallery/#developers)

 [Support](https://wordpress.org/support/plugin/block-for-masonry-gallery/)

## Description

CTC Masonry Gallery creates flowing image collections in the WordPress Gutenberg
editor. Version 2.8.0 brings a refined editor, a polished image viewer, and more
reliable image loading while preserving the existing gallery features and saved 
block markup.

### Key Features

 * **Masonry layout:** Images retain their proportions and arrange automatically
   as the gallery resizes.
 * **Refined editor:** A welcoming image-selection state, a live gallery preview,
   an image count, and a clear Edit gallery action.
 * **Grouped settings:** Layout, Interaction, and Appearance panels keep every existing
   control easy to find.
 * **Image viewer:** Browse thumbnails, navigate to the first or last image, zoom
   in or out, and play or pause a slideshow.
 * **Keyboard access:** Open the viewer with Enter or Space; use Left/Right to browse,
   Up/Down to zoom, and Escape to close. Tab stays within the viewer and focus returns
   to the selected image on close.
 * **Hover enlargement:** Optionally enlarge images on hover. Hover enlargement 
   and the image viewer remain mutually exclusive.
 * **Custom shadows:** Adjust shadow size and color, including transparency.
 * **Flexible spacing:** Set image width from 1–100% and the gutter from 1–50 pixels.
 * **Reliable loading:** Cached, slow, and failed image loads no longer keep the
   entire gallery hidden.
 * **Existing galleries preserved:** No migration is needed; the original masonry
   and viewer libraries remain in the plugin.

### What’s Next

Explore my other WordPress projects:

 * [CTC Gallery 🎨](https://ujwol.gumroad.com/l/brrfn) – Four unique premium galleries
   block in same plugin
 * [Gravity Forms Add-ons](https://gfaddon.ujwolb.com.np/)
 * [CT Commerce Lite 🛒](https://wordpress.org/plugins/ctc-lite/) – A block-based
   eCommerce plugin.

### Development

    ```
    `sh
    ```

npm ci
 npm run build npm run lint:js npm run lint:css `

The `src/` directory contains the editable source. Commit the generated `build/`
assets with source changes so the plugin can be installed without Node.js. The webpack
adapter in `tooling/` exposes the classes from the existing `js-masonry` and `ctc-
gallery-viewer` packages; both dependencies and all existing npm scripts are retained.

## Screenshots

[⌊Refined Gutenberg gallery editor with a live masonry preview and collection details.⌉⌊
Refined Gutenberg gallery editor with a live masonry preview and collection details
.⌉[

Refined Gutenberg gallery editor with a live masonry preview and collection details.

[⌊Grouped Layout, Interaction, and Appearance settings alongside the gallery preview.⌉⌊
Grouped Layout, Interaction, and Appearance settings alongside the gallery preview
.⌉[

Grouped Layout, Interaction, and Appearance settings alongside the gallery preview.

[⌊A published masonry gallery with rounded image corners and balanced spacing.⌉⌊
A published masonry gallery with rounded image corners and balanced spacing.⌉[

A published masonry gallery with rounded image corners and balanced spacing.

[⌊The full-screen image viewer with thumbnails, captions, navigation, zoom, and 
slideshow controls.⌉⌊The full-screen image viewer with thumbnails, captions, navigation,
zoom, and slideshow controls.⌉[

The full-screen image viewer with thumbnails, captions, navigation, zoom, and slideshow
controls.

[⌊The image-selection screen for starting a new collection.⌉⌊The image-selection
screen for starting a new collection.⌉[

The image-selection screen for starting a new collection.

## Blocks

This plugin provides 1 block.

 *   CTC Masonry Gallery Create a flowing masonry image gallery with hover enlargement
   and an optional full-screen viewer.

## Installation

To install and activate CTC Masonry Gallery:

 1. Upload the plugin files to the `/wp-content/plugins/masonry-gallery` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to the Post screen and look for the Masonry Gallery block in the Gutenberg section.
 4. Add the block to your post or page.
 5. Use **Edit gallery** to add, remove, or reorder images in the media library.
 6. Adjust image width and spacing under **Layout**, choose hover enlargement or the
    viewer under **Interaction**, and configure shadows under **Appearance**.
 7. Save or publish the post to display the gallery.

To update an existing installation, replace the plugin files with the new release.
Existing galleries keep their images and settings.

## FAQ

### Q: How do I adjust the gutter width between images?

A: You can adjust the gutter width in the block settings under the Gutenberg editor.

### Q: Can I customize the modal view?

A: Enable **Open in image viewer** in the Interaction panel. The viewer includes
thumbnail navigation, zoom controls, and a slideshow.

### Q: Where can I get support?

A: For support or to report issues, please visit the [Support Forum](https://wordpress.org/support/plugin/block-for-masonry-gallery).

## Reviews

![](https://secure.gravatar.com/avatar/980ccbd6cfbc977f3f16ac6057db507a513c036c54aa23837d155a46f512ec58?
s=60&d=retro&r=g)

### 󠀁[Easy & Elegant – Works Great](https://wordpress.org/support/topic/easy-elegant-works-great/)󠁿

 [beatty67](https://profiles.wordpress.org/beatty67/) nuxwasun 14, 2025

SO this plugin makes really nice masonry galleries with a little hover effect that's
elegant looking and responsive and a complete pleasure to use for certain projects.
I have clients who want this feature without all the hassle of the big gallery plugins,
or who don't have the budget for me to design a gallery myself…and CTC Masonry Gallery
fits the bill. It's perfect that way.

![](https://secure.gravatar.com/avatar/ecfd2f7b310a82c81aa17c5672b7119c55714f58cc3b3a406b094fb545b9a030?
s=60&d=retro&r=g)

### 󠀁[Great Gallery](https://wordpress.org/support/topic/great-gallery-125/)󠁿

 [Sanjeev Aryal](https://profiles.wordpress.org/sanzeeb3/) zosun 4, 2024

beautiful masonry image galleries

![](https://secure.gravatar.com/avatar/4ddb9f5c328232f1237fdf3486d5495d3ea73010a51ea5340520667ac1cde488?
s=60&d=retro&r=g)

### 󠀁[Easy, Drag and drop Gallery](https://wordpress.org/support/topic/easy-drag-and-drop-gallery/)󠁿

 [txirrindulari24](https://profiles.wordpress.org/txirrindulari24/) avuvɔsun 15,
2024 1 reply

I like so much the way it can set the order of image, so easy to change them. Nice
to use. Still it can improve certain aspects.The developer responds quickly. Thanks
for your help! Good Plugin!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/)

## Contributors & Developers

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

Contributors

 *   [ UjW0L ](https://profiles.wordpress.org/ujw0l/)

[Translate “CTC Masonry Gallery” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-for-masonry-gallery)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-for-masonry-gallery/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-for-masonry-gallery/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-for-masonry-gallery/)
by [RSS](https://plugins.trac.wordpress.org/log/block-for-masonry-gallery/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 2.8.0

 * Redesigned the editor with a refined empty state, gallery header, live preview,
   and collection details.
 * Organized all existing controls into Layout, Interaction, and Appearance panels.
 * Polished image corners and hover transitions while preserving the enlargement
   option.
 * Refined the existing overlay viewer with responsive controls, thumbnail selection,
   and a dark backdrop.
 * Added keyboard activation, dialog focus handling, accessible control names, and
   reduced-motion support.
 * Improved masonry initialization for cached, slow, and failed images, and fixed
   full-width layouts.
 * Fixed source-library exports so production rebuilds retain both original scripts.
 * Preserved saved block markup and existing gallery settings.
 * Updated project links and documentation.

### 2.7.0

 * Enhanced gallery display on image load 📥

### 2.6.0

 * Added image box shadow background effect 🖍️
 * Added optional image enlargement on hover 🔍
 * Added optional display of images in overlay 🖼️

### 2.5.1

 * Minor bug fixes 🐞

### 2.5.0

 * Added JSX support for development 🛠️
 * Minified version of JavaScript included ⚡

### 2.0.0

 * Introduced CTC Overlay viewer 🎥
 * Added gutter width adjustment option 📏

### 1.0.0

 * Initial stable release 🚀

## Meta

 *  Version **2.8.0**
 *  Last updated **1 month ago**
 *  Active installations **1,000+**
 *  WordPress version ** 5.7.2 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4.9 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-for-masonry-gallery/)
 * Tags
 * [block](https://fon.wordpress.org/plugins/tags/block/)[gallery](https://fon.wordpress.org/plugins/tags/gallery/)
   [image album](https://fon.wordpress.org/plugins/tags/image-album/)[masonry](https://fon.wordpress.org/plugins/tags/masonry/)
   [overlay](https://fon.wordpress.org/plugins/tags/overlay/)
 *  [Advanced View](https://fon.wordpress.org/plugins/block-for-masonry-gallery/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/)

## Contributors

 *   [ UjW0L ](https://profiles.wordpress.org/ujw0l/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/block-for-masonry-gallery/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/donate/?hosted_button_id=VUJCB99MC6R48)