Title: CTC Masonry Gallery
Author: UjW0L
Published: <strong>21 mai 2021</strong>
Last modified: 8 octobre 2026

---

Recherche d’extensions

![](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

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

[Télécharger](https://downloads.wordpress.org/plugin/block-for-masonry-gallery.2.8.0.zip)

[Prévisualisation en direct](https://fr.wordpress.org/plugins/block-for-masonry-gallery/?preview=1)

 * [Détails](https://fr.wordpress.org/plugins/block-for-masonry-gallery/#description)
 * [Avis](https://fr.wordpress.org/plugins/block-for-masonry-gallery/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/block-for-masonry-gallery/#installation)
 * [Développement](https://fr.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.

## Captures d’écrans

[⌊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.

## Blocs

Cette extension fournit 1 bloc.

 *   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).

## Avis

![](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/) 14 mai 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/) 4 septembre 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/) 15 août 2024
1 réponse

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!

 [ Lire les 3 avis ](https://wordpress.org/support/plugin/block-for-masonry-gallery/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« CTC Masonry Gallery » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « CTC Masonry Gallery » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/block-for-masonry-gallery)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/block-for-masonry-gallery/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/block-for-masonry-gallery/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/block-for-masonry-gallery/)
par [RSS](https://plugins.trac.wordpress.org/log/block-for-masonry-gallery/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

### 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 🚀

## Méta

 *  Version **2.8.0**
 *  Dernière mise à jour **il y a 1 mois**
 *  Installations actives **1 000+**
 *  Version de WordPress ** 5.7.2 ou plus **
 *  Testé jusqu’à **7.1.4**
 *  Version de PHP ** 7.4.9 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/block-for-masonry-gallery/)
 * Étiquettes
 * [block](https://fr.wordpress.org/plugins/tags/block/)[gallery](https://fr.wordpress.org/plugins/tags/gallery/)
   [image album](https://fr.wordpress.org/plugins/tags/image-album/)[masonry](https://fr.wordpress.org/plugins/tags/masonry/)
   [overlay](https://fr.wordpress.org/plugins/tags/overlay/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/block-for-masonry-gallery/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.paypal.com/donate/?hosted_button_id=VUJCB99MC6R48)