How-to Guide

Resize and Compress Office and Staff Photos

Short answer

Before uploading a photo, resize it to roughly the space it fills on the page, with extra room for sharp phone screens, and save it with sensible compression. A phone straight out of a camera roll can produce a file far larger than the page needs.

By Liam CostelloUpdated 5 min read
Get my free auditor call (561) 291-2681

The camera roll problem

A phone camera produces very large pictures. A front-desk team member takes a nice photo of the waiting room, uploads it as it came, and the page that looked fine on the office computer takes a long time on a patient's phone in a parking lot. The patient does not wait, and the page that took an afternoon to write is abandoned in seconds.

The fix is not a better web host. It is a two-minute step before the photo is ever uploaded, and the guidance behind it comes from web.dev, Google's web developer site.

What web.dev says about image size

  • Match the source image to the space it will occupy on the page, and avoid upscaling, because an enlarged picture looks blurry and grainy.
  • A source image larger than the biggest layout needs is downloaded by small-screen users too, which web.dev calls no tangible benefit.
  • Screens with more pixels per inch need more image pixels. A source about twice the displayed width renders sharply on such a screen, for example an 800 pixel source shown at 400 pixels wide.
  • Use a web-friendly format and sensible compression to save bandwidth.
  • For the main image at the top of the page, web.dev's loading guide names AVIF and WebP, an appropriately sized image and compression as ways to cut file size.

A five-step routine for a new photo

  1. 1Ask your web person what width the photo will be displayed at on a phone and on a desktop. Write the larger number down.
  2. 2Resize the photo to about twice that width, and do not enlarge a small photo to reach it.
  3. 3Export it with compression, in a web-friendly format, and compare it with the original. If you cannot see a difference at normal size, keep the smaller file.
  4. 4Name the file with plain words, such as the front entrance or the waiting area, not a camera number.
  5. 5Write the image's text description before uploading, as described in our image and alt text guide.
Photo and where it appearsHabit to follow
Provider headshot, on the about and provider pagesCrop tightly, resize to the display width with room for sharp screens
Waiting room or entrance, on the office tour or new patient pageOne or two good photos beat a gallery of ten
Team photo, on the about pageResize to the page column width, not the full screen width
Large top-of-page image, on the home or service pageCompress it, size it correctly and do not delay its loading

The top-of-page image is the one that counts most

The web.dev guide to Largest Contentful Paint says a good result is 2.5 seconds or less for at least three quarters of visits. When the biggest item is an image, the guide advises serving an appropriately sized, compressed image, putting it in the page's own HTML so it is found early, and not lazy-loading it. It also says to give high fetch priority to only one or two images. Ask your web person to confirm this for the top image on your home page.

How to check the result

Open the page on a phone using mobile data, not office Wi-Fi, and count how long until the top picture appears. Then look at the page with Google's free PageSpeed Insights tool and read the opportunities it lists for images. Our Core Web Vitals checklist for a medical practice website explains how to read those results.

Real photos are worth the trouble. Patients respond to the actual office and the actual people, as our guides on provider headshots and team photos, the office tour and photos page and stock photos versus real photos describe. Prepare each one properly before it is uploaded.

Frequently asked questions

Does the page still look sharp after resizing?

Yes, if the new size is about twice the space the photo fills. That extra room keeps the picture crisp on phones with very sharp screens.

Should staff do this or the web person?

Either. A written rule such as resize first, then compress, then upload makes the habit easy for anyone who adds a photo.

Is a smaller file always better?

Smaller loads faster, but compress until the picture still looks good at normal size, and no further. Faces and signs should stay clear.

Which format should we use?

web.dev names AVIF and WebP as modern formats for reducing size. Ask your web person which your site supports, and keep a standard format as a fallback.

What about photos already on the site?

Start with the home page and the five most visited pages. Replace the largest images first and check each page again on a phone.

Sources

Keep reading

Ready to Grow Your Practice?

Primara is now accepting new independent practices nationwide. Most new engagements begin within one week.

Send Us a Message

We respond within one business day.

* Required field

We'll call to confirm your consultation.

No spam, ever. HIPAA-aware agency. We respond within one business day. For urgent inquiries, call (561) 291-2681.

Founder-LedHIPAA-AwareServing Practices Nationwide