How to optimize photos for your business website

A practical routine for local businesses: pick real photos, resize them, save as AVIF or JPG, remove location data, then name and describe them.

By
Picture Optimizer team
Published
Type
How-to

To optimize photos for a business website, choose real photos of your work, resize each one to the width it appears on the page, save it as AVIF or JPG at a quality you've checked, remove GPS location and camera data, then give it a descriptive file name and alt text before uploading. That routine keeps pages fast, protects your privacy and helps people (and search engines) understand what each photo shows.

Key takeaways

  • Size each photo for the place it appears; phone and camera photos are far bigger than any web page needs.
  • AVIF makes the smallest files; JPG is the safe fallback.
  • Strip GPS location before publishing, especially for photos taken at home or at customers' properties.
  • Descriptive file names and alt text take a minute per photo and help accessibility and search.

Step 1: Choose photos that earn their place

Photos of your real premises, team and finished work tell visitors more than generic stock images. For each photo, ask what it shows a customer: the clean treatment room, the finished kitchen, the people they'll meet. If a photo is purely decorative, that's fine, but it should be light and get an empty alt attribute.

Step 2: Crop and straighten

Crop to the subject and straighten horizons before anything else. A tighter crop shows more of what matters at small sizes, and every pixel you crop away is a pixel visitors don't download.

Step 3: Resize for where the photo appears

Check the width each photo occupies on your site:

  • Full-width banner or hero: often the widest image on the page.
  • Photo inside a text column: usually much narrower.
  • Team headshots or gallery thumbnails: small.

Export at that width, or up to twice it for sharpness on high-density phone and laptop screens. Don't upload the original: in our sample run of 54 business photos, the median original was 24 megapixels. Resized to 2,048 px wide, the photos kept about 15% of their pixels, and that alone does a lot of the work.

If your platform creates smaller versions automatically (WordPress generates several sizes of every upload), upload one well-sized master per photo.

Step 4: Pick the format

  • AVIF gives the smallest photo files in our testing. Caniuse reports about 96% global browser support.
  • JPG works everywhere and every website builder accepts it.
  • WebP sits between them and is widely supported.
  • PNG is for logos, screenshots and graphics, not photos.

Check what your platform accepts. Some builders and stores don't accept AVIF uploads yet; use JPG there.

Step 5: Compress at a quality you've checked

Export one photo at two quality settings and look at both at 100% zoom: faces, text on signs, fine textures. Use the lower setting if you can't tell them apart.

For a sense of what's possible, here are three photos from our sample run, resized to 2,048 px and saved as AVIF at our High preset:

Photo

Original

AVIF

Smaller by

Plumber under a sink

2.8 MB

55 KB

98.1%

Dental treatment room

1.9 MB

118 KB

93.9%

Law firm document signing

5.6 MB

245 KB

95.7%

Each AVIF scored an SSIM of 0.99 or higher against the original at the same size (1.0 means identical). These are free-license stock photos, not customer files; your own photos may compress more or less.

Step 6: Remove location and camera data

Photos carry EXIF metadata: camera model, settings, date and, if location was on, GPS coordinates. The EXIF standard has supported GPS tags since version 2.0. A photo of a job at a customer's home can reveal their address to anyone who downloads it. Remove GPS and camera data before publishing; keep your business name and copyright in the file if you want credit.

Step 7: Name the file

Rename IMG_4382.jpg to something that describes the photo, such as plumber-repairing-kitchen-sink-drain.avif. Google's image documentation says file names give it only light clues, but a clear name costs nothing and makes your own media library easier to search.

Step 8: Write alt text

Alt text is what screen readers read in place of the photo. Describe what the photo means on that page in a short sentence: "Our technician replacing a water heater in a garage" rather than "plumbing". Decorative photos get an empty alt attribute, alt="", so screen readers skip them.

Step 9: Upload and check the page

Upload, then open the page on your phone. Images below the first screen should be lazy-loaded (loading="lazy"); WordPress does this automatically, and web.dev advises not to lazy-load the main photo at the top. Run the page through PageSpeed Insights to confirm the photos aren't flagged.

Common mistakes

  • Uploading straight from the phone. It's the most common reason a small business page feels slow on mobile.
  • One huge banner image. If the hero photo is the largest element on the first screen, it is likely your Largest Contentful Paint element; it deserves the most care, and it should not be lazy-loaded.
  • Photos of text. Opening hours or prices inside an image can't be read by screen readers or copied. Put them in real text.
  • The same stock photo as every competitor. It tells customers nothing about you; a decent phone photo of your own team usually does more.

Doing steps 3 to 8 in one go

Our tool for local businesses resizes, compresses and converts your photos and strips metadata. From Starter ($19 a month) it also writes a file name, alt text, title and caption for each photo, which you review before export, and can embed or strip EXIF fields as you choose. The Free plan covers your first 15 photos, once, as AVIF or JPG, with no AI. Plan details are on the pricing page.

Keep reading

Sources

Questions

Short answers to what people ask about this.

As wide as they appear on the page, or up to twice that for sharp results on high-density screens. A full-width banner needs far more pixels than a photo in a sidebar, so size each photo for its slot.