EN · Languages : English

Why a heavy image slows down your site, and how to avoid it.

Your files never leave your device.Never stored · GPS removed · No cookies
Checked on 19 November 20264 min readPhoto
In brief
  • A light image helps your website, shop or blog show up fast, especially on mobile: on a slow network (1.6 Mbit/s), 5 MB takes 25 seconds to arrive, against 0.5 seconds for 100 KB.
  • Google measures this wait with LCP (good: 2.5 s or less) and the jumps on the page with CLS (good: 0.1 or less).
  • Here is what to do: compress, switch to WebP and reserve the space for the image. Our tools help you do it, without uploading anything.
Make the images on your page lighterOn your device, no account.Compress an image

When does a light image help you?

As soon as a visitor waits for an image to see your page. Here are the most common cases:

Showcase siteThe first impression: your page appears instead of an empty area.
ShopProduct photos, many and often heavy, show up without waiting.
BlogYour articles open fast, even on mobile with a weak network.
Ad landing pageYou pay for the click: the page might as well be there before the visitor leaves.
PortfolioLarge images, beautiful and sharp, without making people wait.
NewsletterImages load when the email is opened: the lighter they are, the better.

5 MB or 100 KB: try it yourself

Why does file size change everything? Because the image must first reach your visitor's device. Choose a size and a connection, then start the loading:

24.5 sless waiting with the light image

Real-time simulation of the image alone: size ÷ speed. The real time also depends on the server and the rest of the page. Nothing is downloaded here.

Slow or fast, what does it mean?

Speed is the amount of data received each second. It is counted in megabits per second (Mbit/s), and 5 MB is 40 megabits. As an order of magnitude:

This wait has a name: LCP

This is why Google measures this wait. LCP (Largest Contentful Paint) is the time it takes to show the largest element of the page. According to the Web Almanac 2025, it is an image on about 3 mobile pages out of 4: making this image lighter is often the simplest gain.

An image can also get in the way in another manner: when its space is not reserved, it pushes the text when it arrives. This is CLS (Cumulative Layout Shift). See the difference:

No space reservedThe image arrives, the text jumps
With width and heightThe space is kept, nothing moves
LCP and CLS thresholds according to web.dev
MetricWhat it measuresGoodPoor
LCPThe time to show the largest element2.5 s or lessOver 4 s
CLSThe jumps on the page during loading0.1 or lessOver 0.25

These metrics are part of the Core Web Vitals. Google strongly recommends good results, without giving their exact weight in rankings: it is a plus, not a guarantee.

1Make your images lighter

Here is how to do it. Start with the large image at the top of your home page: it is often the one that matters most. First its pixels, then its weight.

  1. I bring it to the right size with Resize an image. For an image displayed at 1,200 px wide, about 2,400 px is enough (double, to stay sharp on high-density screens). An iPhone photo is 4,032.
  2. I run it through Compress an image for a lighter copy, or through Choose a size to aim for an exact file size.
  3. I can also convert it to WebP with JPG to WebP, then keep the lighter one if the result suits me.

2Reserve their space

Your page will no longer jump. In its code, give the width and height of each image (width and height attributes), or ask the person who manages your site.

To prepare a layout at the right size, before you have the final image: Generate a placeholder image.

3Make your GIFs and videos lighter too

An image is not the only thing that weighs: an animated GIF or a video on your page often weighs much more.

Frequently asked questions

What is LCP (Largest Contentful Paint)?

It is the time the largest visible element of the page takes to show, often an image or a block of text. According to web.dev, it is good at 2.5 seconds or less and poor beyond 4 seconds.

What is CLS (Cumulative Layout Shift)?

It is a measure of the jumps on the page while it loads, for example when an image arrives and pushes the text. According to web.dev, it is good at 0.1 or less and poor beyond 0.25.

What file size should an image on a website be?

There is no official figure: it all depends on its dimensions and its role. The right habit is to bring it down to its display size with Resize an image, then compress it to the limit of what still looks sharp to the eye, with Compress an image.

How do I improve the LCP of my page?

If the largest element is an image, start by making it lighter: right dimensions, compression, WebP format. You can then check the result with PageSpeed Insights, Google's free tool.

How do I avoid CLS caused by images?

Always give the width and height of each image (width and height attributes), or reserve its space with the CSS aspect-ratio property. The browser then keeps the space before the image arrives.

Do Core Web Vitals matter for Google SEO?

Google strongly recommends good results and says this goes in the direction of what its ranking systems try to reward. It does not give their exact weight: it is not a guarantee of ranking better.

Sources

Keep going

75 MB max

Frequently asked questions