
In This Article
Images are the heaviest asset on most websites — often 60-80% of page weight — and unoptimized heroes are the top cause of failing Largest Contentful Paint scores. Since page speed feeds both rankings and conversions, image optimization pays twice.
The resize-then-compress workflow
- Resize to display size first. Serving a 4000px photo in an 800px slot wastes ~90% of its bytes. Heroes: 1600px. Blog images: 800px. Thumbnails: rendered size.
- Compress second. Run the result through a free image compressor at 70-80% quality and check the live size estimate.
- Consider WEBP. Convert with a JPG to WebP converter for another 25-35% saving at the same visual quality.
Export settings that actually work
| Use case | Size | Format & quality | Target weight |
|---|---|---|---|
| Hero banner | 1600px wide | WEBP 75% / JPG 80% | Under 300 KB |
| Blog image | 800px wide | WEBP 70% / JPG 75% | Under 150 KB |
| Thumbnail | Rendered size | WEBP 65% | Under 50 KB |
| Logo / icon | Exact pixels | PNG or SVG | Under 30 KB |
Measure before and after
Run PageSpeed Insights on the URL first and note the LCP element — if it is an image, that file is your target. Optimize it, redeploy, and re-test: a single hero fix commonly lifts performance scores 20-40 points. Repeat for your top-trafficked templates before touching the long tail of old posts.
Mistakes that undo the work
- Compressing before resizing: optimizing a 4000px file you then display at 800px wastes the effort — order matters.
- PNG for photographs: 10-30x heavier than JPG with zero visible benefit on photos.
- CMS auto-compression reliance: platform recompression on top of huge uploads produces artifacts; upload pre-optimized files instead.
Core Web Vitals thresholds images decide in 2026
Google grades three metrics that images dominate. Largest Contentful Paint must land under 2.5 seconds — hero images over 500 KB almost always blow it on mobile data. Cumulative Layout Shift must stay under 0.1 — always set width and height attributes so galleries reserve space before loading. Interaction to Next Paint must stay under 200 ms — pages parsing megabytes of images stall the main thread. Compressing every above-the-fold image under 200 KB and lazy-loading the rest is the single highest-ROI SEO fix most small sites can make.
WordPress and Shopify implementation checklist
- Export heroes at 1600px wide, content images at 800px — never upload 4000px originals.
- Compress each with the image compressor at 70–80% quality, then convert to WebP with the JPG to WebP converter for modern browsers.
- Serve responsive sizes via srcset so phones download the 800px variant, not the desktop hero.
- Lazy-load below-the-fold images, preload the LCP hero, and re-test in PageSpeed Insights until LCP turns green.
Convert Images Instantly
Convert between JPG, PNG, WebP and more. All processing happens in your browser.
Convert ImagesFrequently Asked Questions
How do images affect Core Web Vitals?
Oversized hero images are the most common cause of poor Largest Contentful Paint (LCP). Compressing and properly sizing the LCP image is often the single highest-impact speed fix on a page.
What image size should I use on my website?
Serve the display size: ~1600px heroes, ~800px blog images, thumbnails at rendered size. Then compress to 70-80% JPG quality or equivalent WEBP.
Is WEBP better than JPG for websites?
Yes — typically 25-35% smaller at equal quality, with transparency support. Serve WEBP with a JPG fallback for maximum compatibility.
Will compressing hurt my product photos?
Not at the right settings. 70-80% quality is visually identical on screen; only extreme compression or repeated re-saving degrades photos noticeably.
How much do unoptimized images hurt Core Web Vitals?
Enormously — images are the LCP element on most pages. A 4 MB hero typically adds 2–4 seconds to LCP on mobile. Compressing it under 200 KB often flips a red LCP to green with no other changes.
Is WebP or AVIF better for Core Web Vitals?
WebP is the safe 2026 default — universal support and ~30% smaller than JPG. AVIF is smaller still but encodes slowly and has patchy tooling. Serve WebP with JPG fallback for maximum compatibility.
David Chen
Imaging SpecialistDavid covers imaging, photography workflows, and visual file formats, helping readers get pixel-perfect results without expensive software.
Related Articles
![Best Free PDF Editor for Students: 5 Compared [2026]](/_next/image?url=%2Fblog%2Fimages%2Ftop-pdf-editors.jpg&w=3840&q=75)
Best Free PDF Editor for Students: 5 Compared [2026]
What is the best free program to edit PDF files? Five compared on real text editing, OCR, privacy and watermarks — with a pick for each job.

Why WebP is the Future of Web Images: A Complete Analysis
Is JPEG dead? Find out why leading websites are switching to WebP for faster load times and better SEO rankings.

Client-Side vs Server-Side Processing: Why it Matters
Why browser-based tools are safer, faster, and more private than traditional server uploads.
