Performance Guide

How to Pass Core Web Vitals with Images

Images often dominate LCP and can trigger CLS if dimensions are missing. Use this practical image-first checklist to improve field performance.

Highest-impact actions:

  • Set explicit width and height.
  • Use modern formats where possible.
  • Compress hero images aggressively but safely.

Image Impact by CWV Metric

MetricImage RiskFix
LCPOversized hero image bytesCompress and right-size hero images.
CLSMissing intrinsic dimensionsSet width/height attributes or aspect ratio boxes.
INPMain thread pressure from large decodeOptimize image payload and defer offscreen assets.

Execution Checklist

  1. Step 1

    Resize source assets to realistic display dimensions.

  2. Step 2

    Compress with Image Compressor.

  3. Step 3

    Use WebP/AVIF for primary delivery where compatible.

  4. Step 4

    Declare image dimensions in markup to prevent layout shifts.

Frequently Asked Questions

Large hero images that are much heavier than needed.
Without reserved layout space, content shifts when images load.
Lazy-load offscreen images, but not above-the-fold hero images.
Start with homepage and top-traffic landing pages, then fix top LCP images first.