Built for Flexibility and control

Modular Gallery Block

The Modular Gallery Block is part of FolioBlocks — a premium WordPress plugin offering next-level control over gallery layout and composition. Built for creatives who want to break free from rigid grids, it allows you to craft multi-row, mixed-width layouts that feel editorial, handcrafted, and uniquely your own.

Build your gallery one row at a time. Each row automatically fills the full width, no matter how many images you place inside it. Add a single image to a row and it expands to a bold, full-width feature. Add two or more and they intelligently resize to share the space evenly, creating a clean, justified layout. Stacks offer even greater flexibility: they allow you to place multiple images on top of one another inside a single position. The row then treats the entire stack as a single visual unit, letting you blend wide hero images with compact stacked groups for a dynamic, magazine-style flow.

Behind the scenes, the gallery is powered by our own custom Image Block, allowing gallery images to be inserted as InnerBlocks. Giving you full block-editor flexibility — including effortless drag-and-drop rearranging directly in List View. No external interfaces, no modal editors, and no friction. Just a smooth, native WordPress experience designed for speed and creativity.

With refined spacing controls, row-by-row customization, built-in Lightbox support, and powerful Pro-only enhancements like downloads and WooCommerce product overlays, the Modular Gallery Block gives you an expressive, fully customizable framework for building galleries that feel intentional, modern, and visually compelling.

Features

Create custom gallery layouts using the built-in ImageRow and ImageStack blocks.

Up to 8 images in an ImageRow and 4 images in an ImageStack

Fully responsive, with an option to maintain layout on mobile

Set image resolution

Option to remove gap between images

Built in Lightbox with option to show caption

Lazy Load Images

Show title on image hover

Randomize image order

Add border & border-radius to gallery images

Allow users to download images

Right-Click Prevention

WooCommerce Integration

Modular Gallery Block is not available in the free version of FolioBlocks.

FeaturesFreePro
Set Image Resolution
Responsive Design Ready
Drag & Drop Image Re-Ordering
Remove Image Gap
Randomize Image Order
Image Downloads
WooCommerce Integration
Disable Right-Click
Custom Lazy Load
Image Lightbox
Show Caption in Lightbox
Show Title on Hover
Custom Border & Border Radius on Slides
Drop Shadow Effect on Images

Note: Disable Right Click feature adds a layer of protection but cannot prevent image access through browser developer tools or page source.

Unlock advanced features and get the full potential of this block with FolioBlocks Pro.


FolioBlocks is trusted by photographers, designers, and creative professionals around the world to showcase their work beautifully and effectively. Here’s what a few of our users have to say:

“Setup was quick, and block-based workflow feels natural – drop in a gallery, choose from grid or masonry styles, tweak spacing and captions. Hard to design something that doesn’t look great.”

– Will MacDonald, Web Developer

“The Video gallery block is just want I was looking for to use my website. Straightforward and easy to use.”

– Dave Marshall, Production Designer

“Had an opportunity to test this plugin during the beta testing period and it’s really slick. It feels native to WordPress and is incredibly full featured.”

– Johan, Web Developer

Ready to showcase your work with the power and flexibility of FolioBlocks? Choose your plan today and start building.