Lake Country Websites

Articles · Website basics

How to resize photos for a small business website

Published . Updated .

A photo straight from your phone is too big for a website. It may be 4000 pixels wide and several megabytes in size. A visitor on a phone with a weak signal has to download all of it before the page looks finished.

Resizing a photo takes about a minute. This guide shows what size to aim for, which tools to use, and what to do with the file before you upload it.

Why photo size matters

Large images are one of the most common reasons a page loads slowly. A slow page loses visitors, and Google takes speed into account. The full list of causes is in why a business website is slow and how to fix it. Photos are the easiest cause to fix yourself.

A website does not show the full photo anyway. A text column on a laptop is often less than 1000 pixels wide. A 4000 pixel photo gets shrunk by the browser after the visitor has already downloaded the whole file.

Pick a target size

Two numbers matter: the width in pixels and the file size.

Width. Use these as a starting point:

  • Wide banner image across the top of a page: 1600 to 2000 pixels wide
  • Photo inside the text of a page: 800 to 1200 pixels wide
  • Small photo, such as a headshot or a logo: 400 to 600 pixels wide

Ask the person who built your site for the exact width your theme uses. If you do not know it, the middle number works for most photos.

File size. Aim for under 200 KB for photos in the text and under 400 KB for a banner. These are rules of thumb, not hard limits. A photo with fine detail, like a stained cedar deck, may need a bit more. A photo of a plain wall can go much smaller.

Pick the right file type

Use JPEG for photos. It handles color and detail well and makes small files.

Use PNG for logos, icons, and screenshots with sharp text. PNG files of photos are large, so avoid it for job photos.

WebP is a newer type that makes smaller files than JPEG at the same quality. Most current browsers and website platforms support it. If your site accepts WebP uploads, use it. If an upload fails, go back to JPEG.

Resize on a Windows computer

Open the photo in the Paint app. Choose Resize, pick Pixels, and keep “Maintain aspect ratio” checked. Type the new width. The height changes on its own. Save the file with a new name so the original stays safe.

Resize on a Mac

Open the photo in Preview. Choose Tools, then Adjust Size. Type the new width in pixels and check that the height changes with it. Click OK.

To shrink the file further, choose File, then Export. Pick JPEG and move the Quality slider down a little. Watch the estimated file size shown below the slider. Stop when the picture still looks sharp to you.

Use a free online tool

If you do not like the steps above, a free browser tool can resize and compress in one pass. Squoosh, a free tool from Google, runs in the browser and shows the original and the smaller version side by side. Search for it by name. Check the result before you download it.

Be careful with any online tool you do not know. You are uploading your photos to someone else’s server. Business job photos are low risk. Photos with customers’ faces or house numbers are not.

Name the file before you upload

A file called IMG_4471.jpg tells Google nothing. Rename it to describe the photo. Use lowercase words with hyphens between them:

  • cedar-deck-stained-winfield.jpg
  • furnace-install-lake-country.jpg
  • team-van-oyama.jpg

Leave out spaces and special characters. Keep the name short and true to the photo.

Add alt text

Alt text is a short description of the image. Screen readers read it aloud to people who cannot see the photo. Search engines read it too.

Write what the photo shows, in one plain sentence. “Cedar deck with fresh semi-transparent stain and a grey railing” works. “Deck” is too short. “Best deck staining Lake Country cheap deck stain” is stuffing words in, so skip it.

If a photo is only decoration, such as a thin pattern, most website editors let you leave the alt text blank.

Check location data in phone photos

Phone cameras can save the GPS location in each photo file. If you photograph a customer’s home, that data can travel with the file. Turn off location tagging in your camera settings, or check that your resize tool removes it. Do this before you post photos from a customer’s property. Also ask for the customer’s permission first, as covered in the service page guide.

Test the page on a phone

After you upload, open the page on your phone with Wi-Fi turned off. Watch how long the photos take to appear. If the page still feels heavy, find the biggest images and shrink them again. The steps in how to check if your website works on a phone cover the rest of the mobile check.

Photos you already uploaded

Old uploads may be too big as well. Look at the Media section of your website editor. It often lists file sizes. Replace the largest ones first, starting with the images at the top of your home page.

If you would rather hand this off, send a message through the contact page and ask for an image check on your site.

Ready when you are

Get in touch