Web Performance

Why Your Website Is Slow (And How Compressing Images Fixes 70% of It)

D

David Park

|November 25, 20259 min read
Share:
Why Your Website Is Slow (And How Compressing Images Fixes 70% of It)

A few months ago, I audited a client's e-commerce site that was hemorrhaging conversions. Their bounce rate was 73%. Average page load time? 8.2 seconds.

The fix wasn't complicated. I compressed their images.

Load time dropped to 1.9 seconds. Bounce rate fell to 34%. Conversion rate jumped 47%.

That's not an outlier case. Images are the low-hanging fruit of web performance—and most sites are doing it wrong.

The Numbers That Should Terrify Website Owners

Let's start with why this matters:

  • 47% of consumers expect web pages to load in 2 seconds or less
  • When load time increases from 1 to 3 seconds, 32% of visitors bounce
  • At 5 seconds, that rate hits 90%
  • A 1-second delay decreases conversions by up to 7%
  • Over a third of websites still serve oversized images that destroy performance

And here's the kicker: images typically make up 50-70% of a webpage's total size.

That hero image on your homepage? Probably 2-4MB when it could be 200KB. Your product gallery? Loading 15MB of images that could be 1.5MB.

The opportunity cost is massive.

How Images Tank Your Google Rankings

If you care about SEO (and you should), unoptimized images are actively hurting you.

Since 2021, Google has used Core Web Vitals as ranking factors. Three metrics matter:

  1. Largest Contentful Paint (LCP) - How quickly the main content loads
  2. First Input Delay (FID) - How fast your site responds to interactions
  3. Cumulative Layout Shift (CLS) - Visual stability during loading

Guess what affects all three? Images.

  • LCP: Your hero image is usually the largest contentful element. If it's uncompressed, your LCP suffers.
  • FID: Large images block the main thread while decoding, delaying interactivity.
  • CLS: Images without proper dimensions cause layout shifts as they load.

The benchmark: Google considers LCP under 2.5 seconds "good." Compressed images routinely hit this. Uncompressed images frequently exceed 4 seconds—earning "poor" ratings that damage rankings.

Understanding Image Formats in 2026

Before compressing, you need to choose the right format.

JPEG - The Workhorse

Best for: Photographs, complex images with many colors, hero images

Pros:

  • Excellent compression for photos (60-80% size reduction typical)
  • Universal browser support
  • Good balance of quality and file size

Cons:

  • Lossy compression (some quality loss with each save)
  • No transparency support
  • Not ideal for graphics with text or sharp edges

When to use: Product photos, background images, team photos, any photograph.

PNG - The Quality Keeper

Best for: Graphics with text, logos, screenshots, images needing transparency

Pros:

  • Lossless compression (no quality loss)
  • Supports transparency
  • Sharp edges on text and graphics

Cons:

  • Much larger file sizes than JPEG for photos
  • Overkill for most photographs

When to use: Logos, icons, screenshots, any image with transparency needs.

WebP - The Modern Standard

Best for: Everything (with fallbacks for old browsers)

Pros:

  • 25-35% smaller than JPEG at equivalent quality
  • Supports both lossy and lossless compression
  • Supports transparency (unlike JPEG)
  • 96%+ browser support in 2026

Cons:

  • Older browsers may need fallbacks
  • Some CMS platforms don't support it natively

When to use: Pretty much always, with JPEG/PNG fallbacks for edge cases.

AVIF - The Future (Almost Here)

Best for: Maximum compression when browser support allows

Pros:

  • 30-50% smaller than WebP
  • Excellent quality at tiny file sizes
  • Growing browser support (88%+ in 2026)

Cons:

  • Slower encoding/decoding
  • Not yet universal support
  • Emerging format—tooling still catching up

When to use: Progressive enhancement for supported browsers.

The Compression Sweet Spot

Here's where most people go wrong: they either don't compress at all, or they compress so aggressively that images look terrible.

The goal is maximum compression with imperceptible quality loss.

General Guidelines

| Image Type | Format | Quality Setting | Typical Reduction | |------------|--------|-----------------|-------------------| | Hero/Banner | WebP/JPEG | 75-85% | 60-75% smaller | | Product Photos | WebP/JPEG | 80-90% | 50-65% smaller | | Blog Post Images | WebP/JPEG | 70-80% | 65-80% smaller | | Thumbnails | WebP/JPEG | 60-75% | 70-85% smaller | | Logos/Icons | PNG/WebP | Lossless or 90%+ | 20-40% smaller | | Screenshots | PNG/WebP | 85-95% | 30-50% smaller |

The 80% Rule

For most photographs, 80% quality is the sweet spot. At this level:

  • File sizes drop 60-75% from uncompressed
  • Quality difference is invisible to most viewers
  • Works well for both print and web

Below 70% quality, artifacts become noticeable. Above 90%, you're carrying unnecessary file size.

Optimal Dimensions for Different Uses

Compression isn't just about quality—it's about not serving massive dimensions when smaller will do.

Hero Images

  • Desktop: 1920px wide maximum
  • Mobile: 768px wide
  • File size target: Under 200KB (ideally under 150KB)

Blog Post Images

  • Full width: 1200px wide
  • In-content: 800px wide
  • File size target: Under 150KB

Product Images

  • Main image: 1000-1200px
  • Thumbnails: 300-400px
  • Zoom capability: 2000-2500px (load on demand)
  • File size target: Under 100KB for thumbnails, under 250KB for main

Social Media Images

  • Open Graph: 1200x630px
  • Twitter Cards: 1200x628px
  • File size target: Under 100KB

E-commerce Products

  • Amazon main image: 1000x1000px minimum, 2000x2000px recommended
  • Etsy: 2000px on shortest side recommended
  • Shopify: 2048x2048px maximum
  • File size target: Under 300KB

The Actual Compression Workflow

Here's the step-by-step process I use:

Step 1: Resize to Target Dimensions

Never compress a 4000px image when you only need 1200px. Resize first—this alone can reduce file size by 70-80%.

Step 2: Choose the Right Format

  • Photo → WebP (with JPEG fallback)
  • Graphic/Logo → PNG or WebP
  • Simple graphic → SVG if possible

Step 3: Apply Compression

Use quality settings based on image type (refer to the table above).

Step 4: Check the Results

Compare before and after at actual display size. If you can see quality loss, dial back compression slightly.

Step 5: Verify File Size

  • Hero images: Under 200KB
  • In-content images: Under 150KB
  • Thumbnails: Under 50KB

If you're over these targets, either increase compression or resize dimensions.

Before and After: Real Examples

Let me show you what's possible with actual numbers:

Example 1: E-commerce Product Photo

  • Original: 4500x3000px JPEG, 3.2MB
  • Resized: 1200x800px
  • Compressed: WebP at 82% quality
  • Final: 89KB
  • Reduction: 97%
  • Visual difference: None visible

Example 2: Blog Hero Image

  • Original: 5472x3648px JPEG, 4.7MB
  • Resized: 1920x1280px
  • Compressed: WebP at 78% quality
  • Final: 142KB
  • Reduction: 97%
  • Visual difference: None visible

Example 3: Team Photo Gallery (12 images)

  • Original total: 47MB
  • After optimization: 2.1MB
  • Reduction: 96%
  • Load time improvement: From 12 seconds to 1.4 seconds

These aren't cherry-picked. This is standard with proper optimization.

Common Mistakes to Avoid

1. Using PNG for Photographs

I see this constantly. Someone saves a product photo as PNG "for quality" and ends up with a 5MB file that should be 200KB.

PNG is lossless—great for graphics, overkill for photos.

2. Not Resizing Before Compression

Compressing a 4000px image and serving it at 400px is wasteful. The browser still downloads and decodes the full image, then scales it down.

Resize first, always.

3. Using One Size for All Devices

A 1920px hero image on mobile is absurd. Mobile users are downloading 3x the pixels they'll ever see, often on slower connections.

Use responsive images (srcset) to serve appropriate sizes.

4. Ignoring WebP

WebP has 96%+ browser support. There's no reason not to use it in 2026.

Serve WebP with JPEG/PNG fallbacks using the <picture> element.

5. Over-Compressing

Dropping JPEG quality to 40% to hit arbitrary file sizes destroys images. Better to resize dimensions than compress to oblivion.

6. Not Setting Dimensions in HTML

Without width/height attributes, images cause layout shift as they load—hurting your CLS score.

Always specify dimensions.

Tools for Image Compression

For Quick, One-Off Compression

69Tools Image Compressor (our tool) handles single images with adjustable quality. Runs in your browser—images never upload to a server.

For Batch Processing

  • Squoosh CLI - Google's compression tool, excellent for automation
  • Sharp - Node.js library for build pipelines
  • ImageOptim (Mac) - Drag-and-drop batch processing

For WordPress

  • Smush - Automatic compression on upload
  • ShortPixel - Excellent WebP support
  • Imagify - From the WP Rocket team

For Build Systems

  • imagemin - Gulp/Webpack plugin
  • vite-imagetools - Vite.js optimization
  • next/image - Next.js automatic optimization

Measuring Your Improvements

After optimizing, verify your improvements:

PageSpeed Insights

Test your pages at pagespeed.web.dev. Look for:

  • LCP improvements
  • "Properly size images" audit passing
  • "Serve images in next-gen formats" audit passing

Lighthouse

Run Lighthouse in Chrome DevTools for detailed audits including:

  • Image optimization opportunities
  • Estimated savings in KB and load time
  • Core Web Vitals scores

WebPageTest

For detailed waterfall analysis showing exactly how image loading affects overall performance.

Take Action Now

If you've read this far, you know your images probably need work. Here's your action plan:

This Week

  1. Audit your top 10 landing pages with PageSpeed Insights
  2. Identify the largest images on each page
  3. Compress and resize the worst offenders
  4. Re-test to verify improvements

This Month

  1. Implement WebP with fallbacks site-wide
  2. Set up responsive images for different device sizes
  3. Audit your entire image library
  4. Establish compression standards for new uploads

Ongoing

  1. Compress images before uploading (don't rely on server-side)
  2. Use appropriate formats for image type
  3. Monitor Core Web Vitals for regressions
  4. Re-audit quarterly

Compress Your First Image

Ready to see the difference compression makes? Try our free image compressor—adjust quality in real-time and see the file size drop without visible quality loss.

No signup, no uploads to external servers, instant results.


Images are the easiest performance win available to most websites. The tools exist. The process is simple. The impact is dramatic.

The only question is whether you'll do it.

Have a website performance question or want me to cover a specific optimization technique? Leave a comment or reach out on Twitter.

Ready to try it yourself?

Use our free Image Compressor - no signup required, works right in your browser.

Try Image Compressor Free
#image compression#web performance#SEO#page speed

Explore All Free Tools

Background removal, image compression, password generation, and more - all free and private.

View All Tools