Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

GAL-001 Published

Grid gallery

A design that lays photos of the same ratio out in a grid, with a title and a short description under each.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Grid gallery

Grid gallery UI design (desktop wireframe)

Wireframe (mobile) | Grid gallery

Grid gallery UI design (mobile wireframe)

What changes on mobile

  1. Two columns: In four columns the photos are too small to make out.
  2. Description on one line: Two columns are narrow, and a long description would wrap into fragments.

Before you choose this pattern | Grid gallery

Good fit

  • Many photos that readers should take in at a glance
  • Photos of one kind in a row: projects, portfolio pieces, interiors
  • The photos can be shot, or cropped, to one ratio

Poor fit

  • Portrait and landscape photos mixed, and cropping would lose what matters (the <a href="/patterns/en/gallery-masonry/">masonry gallery</a> works better)
  • Many kinds, and readers should find the ones closest to their case (the <a href="/patterns/en/gallery-filter/">filterable gallery</a> works better)

Why this wireframe works | Grid gallery

The number and feel of the work at a glance

Photos of one ratio sit in a grid, so the number of projects and the overall feel can be taken in at once.

A title and description under each photo

Under each photo, a title and a short line such as “House · San Francisco” say in words what the photo alone cannot.

One ratio keeps the grid intact

The photos are fitted into frames of one ratio, with the overflow cropped, so the rows share a height. A tidy grid makes the photos easier to compare one by one.

Two columns on mobile

Four columns make the photos too small on mobile, so they sit in two. Titles stay at a readable size even when they wrap.

Common mistakes | Grid gallery

Photos with no title or description

Photos alone do not say what the project was or where. Add a title and a short description as text.

Cropping away what matters

Cropping to one ratio can cut off the important part of a photo. Adjust the crop position per photo, or choose a pattern that does not crop.

Heavy photos that slow the list

Large photos scaled down for the list slow its loading. Prepare small list-size photos and lazy-load the ones off screen.

The same alt text on every photo

If every photo’s alt text reads “project”, screen readers cannot tell them apart. Describe what each shows, or if it matches the title, word it so they do not repeat.

FAQ | Grid gallery

Which photo ratio should I use?

Match the ratio most of your photos are shot at. Landscape 4:3 and 3:2 are common. What matters is one ratio throughout the list.

Should pressing a photo enlarge it or open a page?

If each project has its own page, go to the page; if you only want to show the photo large, enlarge it. For enlarging, see the lightbox.

How many items should be shown?

For a tidy grid, a multiple of the column count (8 or 12 for four columns) keeps the last row full. A short last row is not a usability problem, though. Beyond that, link to the full list.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published