Image file size and website speed before you upload

The Bulletin Photography

Image file size and website speed: what to know before uploading

A gallery of beautiful, full-resolution photos straight from a phone can quietly make a website feel broken on a slow connection.

By Casey Owens · · 9 min read

A modern phone photo can easily be 4 or 5 megabytes. A page with even a handful of those, uploaded straight from the camera roll with no compression, can take far longer to load than it should, and load time is one of the more reliable ways to lose a visitor before they've seen anything at all.

This guide explains why images are usually the heaviest part of a page, how to prepare them before uploading, which formats and settings matter, and how to check whether your site has a problem.

Why this matters more on a phone

Most visitors to a local business site are on a phone, often on cellular data rather than wifi. A page loaded with unoptimized images can turn a fast-feeling desktop preview into a slow, frustrating mobile experience for the majority of actual visitors.

The owner is often the last to notice. You check the site on your office computer and fast connection, where everything loads instantly. A customer standing in a driveway with weak signal, looking for a number to call, sees a blank page or jumping content. Test on a phone with wifi turned off.

Why images are usually the problem

Text and code are tiny compared to photos. On a typical small business page, the words and layout may amount to a small fraction of what the browser downloads, while the images account for most of it. That makes images the first place to look when a page feels slow, and the place where the least effort yields the biggest improvement.

The cost compounds. A gallery page with twenty photos at several megabytes each asks a phone to download tens of megabytes. Even on a good connection, that's slow. On a weak one, it can fail.

The fix isn't lower quality, it's compression

Modern image compression can reduce file size dramatically with no visible quality loss to the human eye, especially for photos displayed at typical website sizes rather than full resolution. This isn't a tradeoff most visitors will ever notice; it's closer to a free win.

There are two kinds of compression. Lossy compression discards detail the eye barely notices and makes much smaller files. Lossless compression keeps every pixel but saves less. For photos of your work, lossy at a moderate setting is nearly always right. For logos, simple graphics, or screenshots with sharp text, a format and setting that keeps edges crisp matters more.

Format matters too

Formats like WebP typically produce smaller files than JPEG at equivalent visual quality, and most modern browsers support it. A site that's still using uncompressed JPEGs or PNGs everywhere is leaving an easy improvement on the table.

A rough guide to which format fits which job:

  • Photos: WebP, or a well-compressed JPEG if you can't use WebP.
  • Logos and simple graphics: SVG if you have a vector version, which stays sharp at any size and is usually tiny. Otherwise PNG or WebP.
  • Screenshots with text: PNG or lossless WebP, so letters stay clean.
  • Animated clips: Avoid animated GIFs, which get large quickly. A short video or an animated WebP is usually lighter. See is video worth it for a small business website for when video belongs on the page.

Newer formats exist, but support and tools vary. Check what your platform and audience support before relying on one.

Resize before you upload, not after

An image displayed at 800 pixels wide on the page shouldn't be uploaded at its full 4,000-pixel original size. Resizing to the actual display dimension, in addition to compressing, removes data the browser has to download and then throw away anyway.

Work out the largest size the image will ever be shown. If a photo fills a full-width banner on a large desktop screen, you may want something around the width of the biggest screen you expect, which is often well under the camera's original width. If it sits in a column or a thumbnail grid, it can be much smaller. Many sites show a small version in a grid that opens a larger one on click. In that case, use a small file for the grid and a bigger one only for the enlarged view.

High-density phone screens do benefit from somewhat more pixels than the displayed size, so don't shrink to the exact number. A modest margin keeps photos sharp without sending the full original.

A simple workflow you can repeat

  1. Pick the photos. Don't upload everything. How many photos does a website actually need helps you choose.
  2. Crop to what matters. Cropping out wasted sky or floor reduces the file and improves the picture.
  3. Resize to the largest size it will be displayed at, with a small margin.
  4. Export or compress to WebP or a well-compressed JPEG at a moderate quality setting. Look at the result at normal viewing size. If you can't see a difference from the original, you've gone far enough.
  5. Name the file something descriptive before you upload, like water-heater-install-basement.webp, not IMG_4032. See how to caption photos so they help search.
  6. Add alt text describing what's in the photo, for accessibility and for search. Website accessibility basics for small business covers why.
  7. Upload and check the live page on a phone.

If you add photos often, make this a habit or ask whoever manages your site to resize automatically on upload. Many platforms and plugins offer that, but check the results rather than assuming.

Other settings that help

  • Set width and height. If the page doesn't know an image's dimensions in advance, text jumps around as images load, which frustrates visitors and counts against you in Core Web Vitals under layout shift.
  • Lazy-load images below the fold. Browsers can wait to load images until a visitor scrolls near them, so the first screen loads faster. Don't lazy-load the main image at the top of the page, since that's the one you want immediately.
  • Serve appropriately sized versions. Responsive image settings let the browser pick a smaller file for a phone and a larger one for a big monitor. Modern platforms often handle this, but confirm.
  • Avoid giant background images. A full-screen hero photo is often the largest file on a page and the one most responsible for slow loading. Compress it more carefully than others.

This connects directly to Core Web Vitals

Image weight is one of the most common causes of a poor Largest Contentful Paint score, one of Google's Core Web Vitals metrics. See Core Web Vitals in plain English for how that connects to both user experience and search ranking.

How to check whether you have a problem

You don't need technical tools to get a first read:

  1. Open your site on your phone with wifi off. Count how long the first screen takes to appear and whether it jumps around.
  2. Run a free page speed test. Google's PageSpeed Insights tool reports on the page you enter and will often list specific images that are too big or in an outdated format.
  3. Look at your photo pages first. Galleries, before-and-after sections, and homepage banners are the likeliest offenders.
  4. Re-test after changes. Fix the biggest images, then check again. Results vary between runs, so look for a clear improvement rather than a perfect score.

A fast site also supports the rest of your marketing. Bounce rate: when it's a problem and when it isn't explains why slow pages can send visitors away, and why a small business website should be built for phones first covers the mobile side more broadly.

Common mistakes

  • Uploading straight from the phone. The single most common cause of a heavy page.
  • Compressing a photo repeatedly. Each lossy pass degrades it. Keep the original and compress once from it.
  • Shrinking in the page instead of the file. Setting a small display size in the editor doesn't shrink the download. The full file still loads.
  • Using PNG for photos. PNG files of photographs are often much larger than needed.
  • Forgetting the logo and icons. Small graphics add up if they're oversized.
  • Hiding quality behind size. Going too far on compression makes a good job look cheap. Check the result.

What this means for your business

Pick the three heaviest pages on your site, usually the homepage, a gallery, and your top service page, and look at the images on them. Replace any oversized ones with resized, compressed versions, add dimensions and descriptive names, and then test on a phone without wifi. Make the same steps a habit for every photo you add from now on.

Questions

Do I need special software to compress images?

There are free online tools and built-in options in most website platforms that handle this automatically. It doesn't require professional editing software.

How small should an image file actually be?

There's no universal number, but a typical web photo, properly resized and compressed, usually lands well under 300 kilobytes without visible quality loss, compared to several megabytes straight from a camera.

Does this apply to Google Business Profile photos too?

Google resizes and compresses photos on its own end for display, so it's less critical there than on your own website, where load time is entirely your responsibility. It's still worth uploading clear, reasonably sized photos. See Google Business Profile photos: what actually gets used.

Will compression make my photos look worse?

Not if you stop at a moderate setting. Compress, compare against the original at the size it will be displayed, and back off if you see blockiness or smeared detail. Most visitors will never notice the difference between a moderately compressed photo and the original.

Should I keep the original files?

Yes. Keep full-size originals somewhere safe, such as a backed-up folder, and upload only the web versions. You may need the originals later for printing, new layouts, or a different crop.

Does my website platform handle this automatically?

Some do, partially. Many resize and compress on upload, but settings and quality vary. Test a page after uploading and look at the actual file sizes. If a platform says it optimizes images but the page still feels slow, check what's being served.

Is it okay to use a content delivery network for images?

Yes, a content delivery network stores copies of files closer to visitors and can speed up delivery. It doesn't replace resizing and compression, though. A huge file is still a huge file.

Sources

Want a site that launches with answers already written?

Start a project