WordPress: How to Add a Photo Gallery to Your Website
A beautiful photo gallery is one of the best ways to capture your audience's attention. Whether you're a photographer showcasing a portfolio, a business displaying products, or a blogger enhancing a post, adding a gallery to your WordPress site can dramatically improve your visitors' experience. This guide will walk you through the simple, step-by-step process of creating one.
How to Add a Photo Gallery in WordPress
Follow the steps below to add a photo gallery using the default WordPress block editor.
- Using your preferred internet browser, go to your WordPress login page by adding
/wp-admin
to the end of your domain name (e.g., yourdomain.com/wp-admin). - From the left-hand navigation menu, click on Pages.
- Select the page where you want to add the photo gallery, or create a new one.
Tip: If you don't have a page yet, please see our WordPress Tutorial: How to Create a Page or Blog Post article.
- In the page editor, click the plus (+) icon to add a new block.
- Search for "gallery" and click the Gallery block to add it to your page.
- You can now either Upload new images directly from your computer or choose existing images from your Media Library.
- Click Upload to upload images directly from your device.
OR
- Click the Media Library option. From here, you can select the images that you would like to add to your photo gallery.
- Select all the images you want to include in your gallery and click the Create a new gallery button.You will be routed to Edit Gallery to customize your photo gallery.
- On the Edit Gallery page, you can select the image and do the following:
- Drag and drop your images to reorder your images.
- Edit the images.
- Delete the images.
- Add an Alt Text.
- Edit the image Title.
- Add a Caption.
- Add a Description.
- When you are finished editing and managing the chosen image, click Insert gallery.
- Your photo gallery is now added to the page. Remember to click Update or Publish to save your changes.
Review
You've now successfully added a photo gallery to your WordPress page. This powerful feature allows you to visually engage your audience and enhance your content. Don't forget to explore the gallery block's settings to customize the number of columns and image layout to perfectly match your site's design.