My portfolio site took 15 seconds to load on mobile. I had 13 photos on the homepage — uncompressed shots taken with my phone. That was 48MB of images for a single page. My dad tried to open it, waited 10 seconds, and assumed the link was broken. One afternoon of resizing and converting dropped the page to 1.9MB. Load time fell below 2 seconds. PageSpeed score went from 22 to 91. The fix took less time than writing this article.
Compress and convert images locally — local processing.
Compress to WebP, resize to display dimensions, batch process. All in your browser.
Open Image Compressor →What PageSpeed Insights Actually Showed Me
I ranGoogle PageSpeed Insightson my homepage URL. The Opportunities section was long. Every image on the page was flagged. The specific numbers:
| Image | Before | After (WebP, 80%) | Saving |
|---|---|---|---|
| Hero background | 5.1 MB | 198 KB | 96% |
| Project screenshots (×6) | 3.8 MB avg | 140 KB avg | 96% |
| Profile photo | 4.2 MB | 88 KB | 98% |
| Total page weight | 48 MB | 1.9 MB | 96% |
Why Phone Photos Are So Large
My phone shoots at 4032×3024 pixels. My site displays images at maximum 800 pixels wide. The browser downloaded the full 4032px image — 25× more pixels than it displayed — then downscaled it on-screen. That is 25× the data transfer for zero quality benefit.
Resizing to the actual display dimensions is the single highest-impact step. A 4032×3024 photo scaled to 800×600 drops from roughly 4MB to 300KB before any compression — just from having fewer pixels to encode.
Why WebP Beats JPEG for Web Images
According toGoogle's WebP study, WebP files are 25–34% smaller than JPEG at equivalent visual quality. That is not a marketing claim — it reflects a genuinely more efficient compression algorithm. The same image, the same quality setting, always produces a smaller WebP file than a JPEG.
Browser support for WebP is now essentially universal: Chrome, Firefox, Safari 14+, Edge, and Opera all support it. The only remaining reason to serve JPEG is compatibility with very old systems — which rarely applies to web portfolios.
The Three-Step Fix
Step 1: Find Your Display Dimensions
Right-click any image on your site in Chrome > Inspect > look at the Computed styles panel for width and height. Or hover over an img element in DevTools — the tooltip shows intrinsic size vs rendered size. If intrinsic is 4032px and rendered is 800px, you have a 25× waste.
Step 2: Resize to Display Width
Resize images to 1.5–2× the maximum display width to support retina screens. If an image displays at 800px wide, resize to 1200px. This handles 2× pixel density displays without serving unnecessarily large files.
Step 3: Convert to WebP at 80–85% Quality
An 800px resized image typically needs to be under 150KB. WebP at 80% quality achieves this for most photographic content without visible quality loss. Use ourimage compressorto convert and compress in the browser — processed locally.
What Else Affects Page Speed
Lazy Loading Below-the-Fold Images
<!-- loading="lazy" defers image download until near viewport --> <img src="project-screenshot.webp" alt="Project screenshot" width="800" height="600" loading="lazy" /* Only loads when close to the viewport */ /> <!-- Always include width and height to prevent layout shift (CLS) --> <!-- Without these, the page reflows when the image loads -->
Responsive Images with srcset
<!-- Serve different sizes based on device — no JS needed -->
<img
src="hero-800.webp"
srcset="
hero-400.webp 400w,
hero-800.webp 800w,
hero-1200.webp 1200w
"
sizes="(max-width: 600px) 400px, (max-width: 1000px) 800px, 1200px"
alt="Hero image"
width="1200"
height="600"
/>
<!-- Mobile devices get the 400w version → faster load on 4G -->The Quick Summary
- 48MB homepage → 1.9MB after resize + WebP conversion
- Load time: 15 seconds → under 2 seconds on mobile
- PageSpeed mobile score: 22 → 91
- Zero visible quality difference at quality 80
- Google uses Core Web Vitals as a ranking signal — speed matters for SEO too
For a deeper technical understanding of image compression — what lossy and lossless mean, what quality settings actually change at the codec level — read our image compression guide. For the format comparison (WebP vs AVIF vs JPEG) that determines which format to serve in 2026, our AVIF vs WebP guide covers the browser support and compression efficiency differences.
Compress and convert images to WebP locally.
Resize, compress, and convert in your browser. local processing. Works offline.