Phox Elements
GALLERY Drag and drop gallery layouts for Breakdance

Design your gallery grid by dragging tiles

Visual Grid Gallery lets you draw a gallery layout instead of picking one from a list. Open the Grid Builder, place and resize each tile, and set separate layouts for tablet and mobile. Every image opens in a lightbox.

Visual grid builder Separate tablet and mobile layouts Lightbox with thumbnails
Live demos

Two gallery layouts, drawn in the builder

Hover the ceramics images to zoom them and click any image to open the lightbox. Make your browser narrower to see the tablet layout take over.

Ceramics studio

Five images on a four-column grid with a feature tile and a full-width banner. It has its own tablet layout and stacks on phones. Hover to zoom, click to open the lightbox with captions.

Desktop and tablet layoutsZoom on hoverRounded cornersLightbox captions

Photo wall

Eight images on a three-column grid with taller tiles mixed in, and the full lightbox toolbar: thumbnails, counter, zoom, slideshow, fullscreen and download.

How it works

Three steps to a custom gallery

Build the grid visually, then fine-tune the look.

1

Add your images

Drop Visual Grid Gallery onto the page and add your images, with alt text and captions if you want them.

2

Draw the grid

Click Open Grid Builder. Click the grid to add a tile, drag to move it and drag its edges to resize it.

3

Set other screens

Switch to the Tablet and Mobile tabs to draw different layouts, or copy the desktop layout as a starting point.

Features

A gallery that fits your design

Any grid you can draw, on any screen size.

Grid Builder

A pop-up editor where you place tiles on a grid. Click to add, drag to move, drag the edges to resize, and set the number of columns.

Three layouts

Draw separate layouts for desktop, tablet (1024px and below) and mobile (767px and below).

Any tile size

Mix big feature tiles, tall portraits and wide banners. The number of columns and rows comes from your layout.

Stack on small screens

No mobile layout? Choose a breakpoint where the gallery stacks into a single column, or keep the grid everywhere.

Lightbox

Click any image to open it full size, with fade, slide or classic transitions.

Lightbox toolbar

Turn thumbnails, counter, zoom, slideshow, fullscreen and download buttons on or off.

Captions

Add a caption to each image. It shows in the lightbox.

Zoom on hover

Zoom images gently on hover and set how far they zoom.

Styling

Gap, row height, object fit and position, borders, radius, shadow and lightbox colours.

Use cases

Where it works best

Anywhere a standard masonry or grid gallery looks too uniform.

01

Portfolios

Give your best project a big tile and let the rest fill in around it.

02

Makers and studios

Show the process and the finished work in one designed grid.

03

Venues and hotels

Mix rooms, food and views in a layout that matches your brand.

04

Wedding and event photography

Build a story layout with feature shots and details.

05

Product galleries

Lay out product and lifestyle shots on a landing page.

06

Case studies

Show before, during and after images in a clear order.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content
ImagesEach image with alt text and a caption.—
Layout Data (Desktop)Tile positions and sizes. Set it with Open Grid Builder.6-tile sample layout
Layout Data (Tablet)Layout for 1024px and below.—
Layout Data (Mobile)Layout for 767px and below.—
Image SizeThumbnail, medium, medium large, large or full.Large
Enable LightboxOpen images in a lightbox.On
Show ThumbnailsThumbnail strip in the lightbox.Off
Show CounterImage count in the lightbox toolbar.Off
Show Zoom ButtonZoom in and out buttons.Off
Show Slideshow ButtonPlay the images as a slideshow.Off
Show Fullscreen ButtonOpen the lightbox fullscreen.Off
Show Download ButtonLet visitors download the image.Off
AnimationFade, slide or classic transition in the lightbox.Fade
Design
GapSpace between tiles.10px
Row HeightHeight of each grid row.200px
Stack Vertically AtBreakpoint where the grid becomes one column when there is no mobile layout, a custom width, or never.Phone Landscape (767px)
Object FitCover, contain, fill or none.Cover
Object PositionWhich part of the image stays in view.Center
Zoom on HoverZoom the image on hover.Off
Zoom AmountHow far the image zooms.1.1
BordersRadius, border and shadow for each tile.Soft shadow
Lightbox coloursBackdrop colour and UI colour.—
MarginsTop and bottom margin.—
Tips & FAQ

Good to know

Do I need to know CSS grid?

No. You draw the layout in the Grid Builder and the element writes the grid for you.

What happens on tablets and phones?

If you draw a tablet or mobile layout, it is used at 1024px and 767px and below. Without a mobile layout, the gallery stacks into one column at the breakpoint you choose.

What if I have more images than tiles?

Extra images are placed in the next free spaces of the grid automatically.

Can I show captions?

Yes. Add a caption to each image and it appears in the lightbox.

Can I turn the lightbox off?

Yes. Switch off Enable Lightbox and the images display without links.

Add Visual Grid Gallery to your next page

Visual Grid Gallery is included with Phox Elements, along with 150+ other premium elements for Breakdance.