Editor's note (2026): The original version of this post described a "Gallery" menu from a third-party plugin. We've updated the steps for the Gallery block built into the current WordPress editor, which needs no plugin.
Inserting photos into your website one at a time is slow. A photo gallery lets you show many images in a clean grid inside any page or post. Here's how to add one in WordPress.
1. Open the page or post
In your WordPress dashboard, go to Pages or Posts and open the item you want to edit (or click Add New).
2. Add a Gallery block
Click the + (block inserter) where you want the gallery, search for Gallery, and select it.
3. Choose your images
Click Upload to add images from your computer, or Media Library to pick images you've already uploaded. Select the images and click Create a new gallery, then Insert gallery.
4. Adjust the settings
With the gallery selected, use the block settings sidebar to:
- Set the number of columns.
- Choose whether to crop images so they line up evenly.
- Set Link to (none, the media file, or the attachment page). Linking to the media file works well with a lightbox.
- Add captions and alt text for each image (alt text helps accessibility and SEO).
5. Save or publish
Click Save draft or Preview to check the result, then Publish or Update when you're ready.
Tips
- Resize and compress images before uploading so pages load quickly.
- If you need albums, filtering, or advanced lightboxes, a dedicated gallery plugin can add those features.
Need help building or maintaining your WordPress site? I.T. For Less can help — contact us.