Articles · Website basics
How to add a photo gallery to your website
By Armstrong Websites. Published . Updated .
Use your website system’s gallery feature. Choose 6 to 12 of your best photos, resize them, add a short caption and alt text to each, and show them in an even grid that opens larger on a tap. Test it on your phone before you publish.
A gallery works best when photos are proof of your work. Contractors, salons, bakers, farms, florists, and rental owners all fit this. A visitor wants to see the result before they call.
Decide if you need a gallery
A gallery earns its place when you have enough photos to group. If you have three good photos, skip the gallery. Place each photo on the page it belongs to, such as a kitchen photo on your kitchen renovation page.
If you have dozens of photos, build a gallery page. Link to it from your homepage and from the service pages it supports.
Choose the photos
Pick the best, not the most. Ten strong photos persuade more than sixty average ones.
Remove near-duplicates. If you took five shots of the same deck, keep one. Mix wide shots with close-ups so the visitor sees the whole job and the detail.
Check each photo for sharp focus, good light, and a clean background. Look for stray tools, cars, and clutter. How to take good photos for your business website covers what to shoot and how.
Get permission before you show a customer’s home, a child, or a recognizable face. Ask in writing, and a text message counts as writing.
Group the photos
If your work falls into types, make a short heading for each. A landscaper might use Patios, Retaining walls, and Garden beds. A salon might use Cuts, Color, and Weddings.
Do not show every group on one long page of mixed photos. Visitors look for the kind of work they need. Headings let them find it fast.
Prepare the files
Large photos are the top cause of slow gallery pages. A phone photo can be several megabytes. Twelve of those make the page crawl on mobile data.
Resize each photo before you upload it. How to resize photos so your website loads fast gives the steps.
Rename each file with plain words, such as cedar-deck-armstrong.jpg. Use lowercase and hyphens. Skip names like IMG_4821.
Write alt text for every photo. Alt text is a short description that screen readers speak and search engines read. How to write alt text for website photos explains what to say.
Add the gallery
Most website systems include a gallery block. WordPress has one built in. Website builders such as Wix, Squarespace, and Shopify have their own gallery sections. Use the built-in tool before you add a plugin or an extra app. Each add-on is more code to load and more software to keep updated.
The steps are almost the same everywhere.
- Create a page named Gallery, Projects, or Our work.
- Add a gallery block or section.
- Upload the resized photos.
- Set the layout to a grid with equal-size thumbnails.
- Turn on the option that opens a photo larger when tapped. This is often called a lightbox.
- Add a caption and alt text to each photo.
- Preview the page, then publish it.
If you cannot find these settings, send the photos to your web designer. You can reach us through the contact page.
Set up the layout
Use a grid, not a slideshow. A slideshow hides most photos behind arrows, and many visitors never click past the first one. A grid shows everything at once.
Pick two columns on a phone and three or four on a computer. Most gallery tools set this for you. Keep the thumbnails the same shape. A mix of tall and wide photos in a messy pattern looks careless.
Check the enlarged view on a phone. The photo should fill the screen. The close button should be large enough for a thumb. Swiping left and right should move between photos. How to test your website on a phone shows how to check this.
Write captions that help
A caption turns a nice picture into evidence. Add one line with the job type, the place, and a detail the customer cares about.
For example: “Cedar deck with glass railing, Armstrong. Built in two weeks.” Only write what is true. Leave out the date if you are not sure of it.
Before and after photos need labels. Put the two images side by side or one after the other, and write Before and After on each.
Do not embed a social media feed
An Instagram or Facebook feed on your page looks like a shortcut. It has problems. The feed loads code from another company and can slow the page. It shows whatever you posted last, including photos that do not sell your work. If the social account changes or breaks, the feed breaks too.
Pick the best photos and place them on your own page. Add a link to your social profile near the gallery.
Finish with a next step
A visitor who likes the photos is ready to act. Put a button under the gallery, such as “Request a quote” or “Book a visit,” with your phone number beside it. What is a call to action and how to write one shows how to word it.
Keep it current
Swap in new photos as you finish new work. Remove photos of services you no longer offer. A gallery full of old work with outdated styles can make a business look inactive. Review the page every few months, and add it to your regular site checks.
Read next
What is a staging site and does your website need one?
A staging site is a private copy of your website for testing changes. Learn when a small business needs one, how it works, and what to check before you publish.
How to add a request a quote form to your website
A quote form collects the details you need to price a job. Learn which questions to ask, how many fields to use, where to place the form, and how to reply fast.
How to add a careers page to your website
A careers page helps you find staff without paying a job board. Learn what to post, how to list pay, how to collect applications, and what to show when you are not hiring.