Photos sell your work better than almost anything else on your website. A restaurant's dishes, a builder's finished rooms, a salon's haircuts, a landscaper's gardens, all of these are far more convincing in a photo than in a paragraph. That is why so many small business owners add a gallery to their WordPress site. The problem is that photos are also the most common reason a website becomes slow. Large, uncompressed images take a long time to load, and a page with twenty of them can feel sluggish on a phone. The good news is that you can have a beautiful gallery and a fast website at the same time. It takes a little preparation before you upload, and the right settings once you do.
Why galleries slow websites down
Every photo on a page has to be downloaded before the page is fully ready, and modern phone cameras produce files that are far larger than a web page needs. A single photo straight from a phone can be several megabytes, while a web page should ideally load a few hundred kilobytes of images in total. Multiply that by twenty photos and you have a page that takes many seconds to appear, especially on a mobile connection. Visitors rarely wait that long. They tap the back button and try the next business instead. Search engines notice this too, and a slow page can be shown less often in results.
The second cause is loading everything at once. By default, a browser may try to load every image on the page as soon as the page opens, even the ones far down the page that the visitor has not scrolled to yet. That wastes time and mobile data. The third cause is the gallery plugin itself. Some gallery plugins add heavy scripts, animations, and styling to every page on your site, not just the gallery page. The fix is not to avoid galleries, but to prepare your images properly and choose a light way of showing them.
Prepare your photos before you upload them
The most important step happens before a photo ever reaches WordPress. First, choose your best photos and leave the rest out. Ten strong photos beat thirty average ones, because visitors judge your work by the weakest image they see. Crop each photo to remove clutter at the edges, and straighten anything that is tilted. A quick tidy-up makes a bigger difference than any plugin.
Next, resize the images. A gallery photo rarely needs to be wider than about 1,200 to 1,600 pixels, and a thumbnail needs far less. Your phone camera may produce images 4,000 pixels wide, so resizing cuts the file size dramatically without any visible loss on a screen. After resizing, compress the image. There are free tools online that reduce a photo's file size while keeping it looking sharp, and WordPress plugins can do the same automatically. Aim for each gallery photo to be well under 200 kilobytes where possible. Save photos as JPEG for normal photographs and PNG only when you need transparency or sharp lines. Modern formats can be smaller still, but JPEG is the safe choice that works everywhere.
Use WordPress image sizes the right way
WordPress creates several smaller copies of every image you upload, and a good gallery uses the right copy for each job. Thumbnails in the grid should use a small copy, while the full view that opens when a visitor taps a photo can use a larger one. If your gallery loads the full-size original for every thumbnail, the page will be slow no matter how good the plugin is. When you build the gallery, check the settings for thumbnail size and lightbox size, and make sure the grid is not loading originals.
It is also worth cleaning up your media library from time to time. Old, unused images take up space and make backups larger. If you uploaded a photo at full size and later replaced it with a resized version, delete the old one. A tidy library makes the whole site easier to manage and keeps your hosting usage down. For more on keeping the site quick in general, read our guide on fixing a WordPress website that loads slowly after adding plugins.
Choose a light gallery plugin
WordPress has a built-in gallery block that is enough for many small businesses. It shows a simple grid, opens photos in a larger view, and adds very little weight to the page. If you need more features, such as albums, filters, or a slideshow, there are well-known gallery plugins that do the job. Before you install one, check when it was last updated and read a few recent reviews. A plugin that has not been updated in a long time can slow your site and may not work with the current version of WordPress.
Install only one gallery plugin, and test it with your real photos before you publish the page. Add ten photos, load the page on your phone over a mobile connection, and time how long it takes to feel usable. If it is slow, try the built-in block instead, or reduce the number of photos on the page. You can always split a large gallery into two pages, for example one for kitchens and one for bathrooms, so each page loads quickly and visitors find what they want faster. If you are building the site from scratch, start with our guide on setting up a WordPress website for a local service business.
Frequently asked questions
How many photos should a gallery page have?
Ten to twenty strong photos is a good range for most small businesses. More than that, consider splitting the gallery by service or project, so each page stays fast and visitors can find the work that matters to them.
Will compressing my photos make them look worse?
Not if you compress them sensibly. A photo resized to the size it is actually shown at, then compressed at a reasonable quality setting, looks the same on a screen as the original while loading far faster. The damage comes from over-compressing or from uploading a huge original and letting the browser shrink it.
Do I need a gallery plugin at all?
Often not. The built-in WordPress gallery block handles a simple grid well and adds very little weight. Use a plugin only when you need features the block cannot provide, such as albums, filters, or a particular layout.
Why is my gallery still slow after compressing the images?
Check whether the gallery is loading full-size originals as thumbnails, whether lazy loading is switched off, and whether the plugin adds heavy scripts to the page. Also test the page on a mobile connection, because a page that feels fine on office wifi can still be slow for a real visitor.
If you would like a fast, beautiful photo gallery added to your WordPress website, contact Shehryar Noor to talk through the photos you have and the work you want to show. Shehryar is a web designer and developer since 2018 who has built over 80 websites for small businesses, and he can set up a gallery that shows your work at its best without slowing your site down.