★ 5.0 on Google · No long contracts · You own every asset
Rathly

How do images affect website performance?

Short answer

Images are usually the heaviest part of a page, so they decide much of its speed. Oversized photos, old formats and images that load too early slow the first screen. Resize images to their display size, use WebP or AVIF, set width and height and lazy-load only those below the first screen.

In this answer
  1. 01Why images slow pages
  2. 02Six image rules we follow
  3. 03Responsive images
  4. 04Images still need to look good

Why images slow pages

A photo straight from a phone camera can be several megabytes. When the page shows it 800 pixels wide, most of that data goes to waste. The largest image on the first screen is often the Largest Contentful Paint element, so its size directly sets your LCP score.

Six image rules we follow

  1. Resize. Serve no more pixels than the layout shows, with a smaller version for phones.
  2. Use modern formats. WebP and AVIF are much smaller than JPEG at similar quality.
  3. Compress. Find the lowest quality where nobody notices the difference.
  4. Set width and height. The browser reserves space, so the page does not jump.
  5. Prioritize the hero image. Load the main first-screen image early, never lazily.
  6. Lazy-load the rest. Images below the first screen load as the visitor scrolls.

Google's web.dev guidance covers each of these, and they fix most image problems on business sites.

Responsive images

The same photo should not go to a phone and a desktop monitor at the same size. Responsive image markup lists several sizes, and the browser picks the right one for each screen. A phone then downloads a fraction of the data.

Good example. A landscaper's gallery uses WebP images at three sizes, lazy-loads everything below the first row and sets dimensions on every photo.

Bad example. The same gallery loads forty full-size camera photos at once, and the page jumps as each one arrives.

Images still need to look good

Speed should not mean blurry photos. Real photos of your team and work build trust. Compress carefully and check results on a sharp phone screen.

We convert every image on our sites to WebP at the right sizes, with alt text and copyright details built in. Read what image alt text is. Our web design team handles image optimization as part of every build.

Keep reading

Related answers

All Web design questions →

Your agency isn't delivering? Talk to us.

  • ✓ You talk to the people who do the work
  • ✓ We handle 95% of requests the same or next day
  • ✓ You own every account, site and listing
Talk to usSTEP 1 OF 2
What isn't working?
No contract. Cloudflare Turnstile blocks spam.
Call usTalk to us →