WordPress glossary

Gallery block

Several images displayed together in a grid.

The Gallery block displays several images together, arranged in a grid. It’s a good fit for a set of photos from a trip or an event, or product shots that belong together.

Each image in a gallery is its own Image block, so it can have its own caption, link and alt text, and you can rearrange the images by moving the blocks. The gallery itself controls how the images are laid out, and can link them all at once or open them in a lightbox when clicked, if your theme supports it.

Published November 24, 2026

Related terms