How Do I Add a Photo Gallery to My Website?

TL;DR

  • To add a photo gallery: edit the page, add a Gallery block, choose your photos, and save.
  • Turn on “Enlarge on click” so visitors can click a small photo to see it full size.
  • Resize your photos first. A page full of big files loads slowly.
  • Rather not do it yourself? Send us the photos, and we’ll build the gallery.
  1. Edit the page or post where the gallery goes.
  2. Click the + button and search for “Gallery,” or type /gallery and press Enter.
  3. Click Add, then choose Upload for new photos or Open Media Library for photos already on your site. You can also drag photos straight into the block.
  4. Set the link to “Enlarge on click” in the block’s toolbar. Visitors can then open each photo in a larger view without leaving the page.
  5. Choose the number of columns in the sidebar settings.
  6. Add captions if you want them. Click a photo and use its caption button.
  7. Save, then check the page on a computer and a phone.

See WordPress’s guide to the Gallery block. If your site uses a page builder (a drag-and-drop design tool) or a gallery plugin (an add-on), look for its gallery element instead. The steps are similar.

Why Use Small Photos That Open Larger?

It fits many photos on one page without a long scroll. Beth described this layout years ago: “You scroll through small images, and clicking one shows the larger image. Then you can have all your images on one page.” It still works the same way today.

Put it where the photos tell a story. For events, a gallery pairs well with a blog post about the event. When Beth set up one client’s event gallery, she asked, “Do you want to write a blog post for the event?”

Build a new gallery out of sight, then publish it when every photo is in. If it’s on a new page, keep the page as a draft until then, so visitors never see a half-finished gallery.

Rather Have Us Build It?

Send us the photos, any captions, and the page they belong on. See How to Send Large Photos, Videos, and Files to Your Webmaster. We’ll resize them, build the gallery, and send you a preview on your Webmaster Retainer.

What Webmaster For Hire Recommends

  • Use small photos that open larger for big sets of photos.
  • Resize every photo before it goes into a gallery.
  • Pair event galleries with a short post about the event.

:: Common Questions ::

It can, if the photo files are large. Smaller files help. On one photo-heavy site, Beth explained, “Image compression typically will lighten the load of a page with a lot of images.” See Why Is My WordPress Website So Slow?

Yes. Edit the page, click the gallery, click Add, and choose the new photos. Then save.

Have Photos to Share?

See our Webmaster Retainer, or request a consultation.

Shopping Basket