To compress images for your website, first resize them to the size they are actually shown at, then save them as WebP or JPEG at quality 75 to 85. As a rule of thumb, aim for roughly 100 to 300 KB for the hero image and 50 to 200 KB for gallery photos. These are practical targets, not Google limits, and most contractor sites load fast enough with them.
Why image size matters on a business website
A photo straight from a phone is often 4 to 8 MB. If your crew uploads ten of them to a project gallery, a homeowner on a weak mobile connection has to download far more than the page needs. You will not notice this in an office with fiber internet. You will notice it in the bounce rate.
Google measures how fast the largest visible element loads, called Largest Contentful Paint (LCP). According to web.dev, a value of 2.5 seconds or less is good, measured at the 75th percentile of page loads. On a typical service business page, that element is the hero image. How waiting time affects inquiries is covered in how slow pages cost you customers.
Pixels first, format second
The most common mistake is not the wrong format but an oversized image. A photo that is 4,000 pixels wide but displayed at 800 pixels sends 25 times more pixels over the network than needed.
Rules of thumb for dimensions:
- Full-width hero image: at most 1,920 to 2,560 pixels wide
- Gallery image or teaser in a text column: 800 to 1,200 pixels wide
- Team photo or logo: as large as it is displayed, twice as wide for sharp high-density screens
Good sites serve a fitting size for phone, tablet and desktop. That is called srcset, and most site builders and website systems handle it automatically once you upload a large enough original.
WebP, AVIF or JPEG: which format for what
According to MDN Web Docs, WebP and AVIF are both well suited to photos and graphics on the web. In practice:
| Format | Strength | Use in your business |
|---|---|---|
| JPEG | works everywhere, default on cameras and phones | fallback, photos |
| WebP | smaller than JPEG at similar quality, supported by all current browsers (caniuse) | default for photos and graphics |
| AVIF | often smaller still, support is broad too (caniuse) | if your system generates it automatically |
| PNG | lossless but large | only for graphics needing transparency |
For everyday use: serving WebP captures most of the gain. AVIF pays off mainly when your website system creates it on its own and falls back to WebP or JPEG when needed. You do not need to maintain that by hand.
Lazy loading: right for galleries, wrong for the hero
With loading="lazy" the browser loads an image only when the visitor scrolls near it. That saves data on long pages with many project photos, as web.dev explains.
One exception applies: the large image in the visible part of the page. If it loads late, LCP gets worse. web.dev recommends loading the hero image early and giving it high priority. A note you can pass on to your web designer: hero image without lazy loading, everything below it with.
A routine that works without technical knowledge
- Cull: pick the two to five best photos per job, not all forty.
- Resize: scale to the width at which the image appears.
- Compress: Squoosh works in your browser on single files and shows original and result side by side. For many files at once, TinyPNG is convenient.
- Name the files:
bathroom-remodel-austin-walk-in-shower.webpinstead ofIMG_4521.jpg. Descriptions for search engines and screen readers are covered in alt text for business website images. - Check: open the page on your phone using mobile data, not Wi-Fi.
If you would rather hand the technical side off: Mr.Site runs several hundred business websites, and how that works as a subscription is described under website as a service.
How to spot oversized images
Without tools: if the page visibly builds from top to bottom on a phone, images are usually the cause. With tools: Google’s free PageSpeed Insights lists which images are too large or in the wrong format. Work through the list from the top, the biggest files have the most noticeable effect.
How to take photos that look good and stay lean in the first place is the topic of photos for your business website. And if you are planning a new site, see pricing.