French flag Hosted and supported in France A human reply within 12 hours 06 65 13 24 36
← All articles WordPress & security7 min read

Images too heavy on WordPress: how do you optimise them?

Reduce the weight of WordPress images with the right dimensions, compression, modern formats, srcset and prioritised loading.

Reduce the weight of WordPress images with suitable dimensions, compression, modern formats, srcset and prioritised loading. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

Illustrated diagnosis: oversized WordPress images
Diagnosing images that are too heavy on WordPress: symptoms, causes, fixes and checks.

How do I recognise images that are too heavy on WordPress?

A slow page is often the result of several delays adding up. The right order is to measure the server time, the PHP generation, the database queries, the front-end resources and the third-party scripts, then fix the main bottleneck before adding a new tool. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.

Measure the page with PageSpeed Insights and note the field data (real users) separately from the lab data. Record the server response time (TTFB), the LCP element and the heaviest scripts.

01 · Signal to check

Pages weighing several megabytes

02 · Signal to check

LCP dominated by one image

03 · Signal to check

Images displayed far smaller than the file

One signal alone does not prove the cause: “Pages weighing several megabytes” can come from “Originals served without resizing” just as easily as from “Not enough compression”. Look for at least two findings that agree before you apply a lasting fix.

How WordPress handles image sizes

On every upload, WordPress generates several image sizes — thumbnail, medium, large, plus the ones the theme declares — and adds the srcset and sizes attributes to the content automatically. The browser then picks the version that suits the screen. Since 5.3, very large images are also scaled down automatically to a maximum of 2,560 pixels.

The trouble starts when the theme or the page builder calls the original image, or a size that is too large, or when the sizes attribute does not match the width actually displayed. The browser inspector shows the file size downloaded and the size it is displayed at.

Modern formats and priority loading

WordPress accepts WebP file uploads since version 5.8 and AVIF since version 6.5, provided the server's image library supports them. These formats generally reduce the weight at comparable visual quality; a plugin can also convert existing images automatically. For a distant audience, a CDN can then deliver those files closer to the visitors, without replacing that optimisation.

WordPress adds loading="lazy" to images by default, and since 6.3 it tries to exclude the main image and add fetchpriority="high". Check the image at the top of the page is not being lazy-loaded by the theme or an optimisation plugin, because that is the commonest cause of a slow LCP.

Causes to check

For images that are too heavy on WordPress, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.

01 · Possible cause

Originals served without resizing

02 · Possible cause

Not enough compression

03 · Possible cause

A JPEG or PNG format that does not suit

04 · Possible cause

Lazy loading applied to the main image

Search Console's Core Web Vitals report, a profiling plugin such as Query Monitor, the slow query log and the browser's Network tab show whether the time is lost on the server, in the database or in the browser.

A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
An animated process to understand images too heavy on WordPress
The subject in motion: observe the facts, apply an action in proportion, then check the result.

Precautions before starting

Back the site up and write down the current cache, optimisation plugin and theme settings before changing them. A minification or caching option can break the display.

Measure the page before each change, so you are comparing figures rather than impressions.

Free Host by French tool

Estimate how much weight you could save

An estimate based on an assumed average saving, which the result states plainly.

Want your media library genuinely optimised?

Ask for support
ORDER OF WORK

Diagnosis and fix

PhaseObjectiveA mistake to avoid
ObserveReproduce it and gather the evidenceChanging several settings before you have a baseline
IsolateConfirm the component or the rule responsibleDeleting files without keeping a copy
FixApply the smallest documented changeRestoring a version that still contains the same cause
ValidateTest the whole journey and monitor itConcluding from the home page loading alone

How do I resolve the problem?

The 4 steps below tackle images that are too heavy on WordPress from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.

  1. 01

    Step 1

    Inventory the displayed dimensions, the file dimensions and the weights.

  2. 02

    Step 2

    Generate the sizes you actually use and check srcset and sizes.

  3. 03

    Step 3

    Convert to WebP or AVIF with the visual quality kept in check.

  4. 04

    Step 4

    Preload only the LCP image and lazy-load the rest.

If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: compare sharpness and weight on mobile and desktop.

Validate the resolution

Measure the same pages again, on mobile and on desktop, after clearing the caches. Check too that the dynamic features (basket, forms, customer area) still behave, because an over-aggressive cache can upset them.

Validation checks

Search Console's field data reflects the last twenty-eight days: the improvement shows up there gradually.

Prevent a recurrence

Prevention has to answer the cause you identified. For images that are too heavy on WordPress, the first measure is “Set a maximum size”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.

01 · Preventive measure

Set a maximum size

02 · Preventive measure

Automate the compression

03 · Preventive measure

Train the contributors

04 · Preventive measure

Audit the media library regularly

Check image weights on upload, assess every new plugin, and measure the key pages after each change to the theme.

A practical diagram about images too heavy on WordPress
A marker specific to this article: three steps to turn reading into a decision you can verify.
FREQUENTLY ASKED QUESTIONS

Frequently asked questions about images that are too heavy on WordPress

Does WordPress compress images automatically?

It generates several sizes and applies default compression to the resized JPEGs, but it does not convert your existing images to modern formats on its own. A plugin, or processing them before upload, is still worth it.

Should you use WebP or AVIF?

Both usually cut the weight. WordPress has accepted WebP since 5.8 and AVIF since 6.5, if the server supports them. Check the visual quality after converting.

Should you lazy-load every image?

No, the main image visible on load should load immediately, with no lazy loading, or the LCP suffers.

How do you check the fix will hold?

Compare sharpness and weight on mobile and desktop. Check the LCP and that no image is broken. Check both the old media and the new uploads. Then watch the logs, the alerts and the relevant metrics for several days.

ON TO YOUR OWN CASE

How to resolve it

If images that are too heavy on WordPress persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.

Get a diagnosis

Summary with an AI

Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

ChatGPTSummarise the article PerplexitySummarise the article ClaudeSummarise the article CopilotSummarise the article MistralSummarise the article GeminiSummarise the article
Devsource video

The key point in one minute

A short piece by Maxime Guinard summarising the essentials of this page. A dedicated watch page lets you follow it properly.

DEVSOURCE VIDEO • 27 S

Optimising images in WebP - Devsource

Optimising images in WebPWebP: your images can slow your site down without you realising.A lovely 4 MB photo is pretty.But for…

Watch the video
THEY TRUSTED US

Client references

See all case studies
Montreuil-sur-Mer logo Data Labcenter logo Sofradom logo 70 Football logo Afrique sur 7 logo CyberJay logo Élisa Reddet logo Foire du Trône logo Goodyvest logo Kincy logo Lhotellier logo Audrey Mégelé du Bourg logo MYF logo
Sine Qua Non logo Make It Happen logo Sonance Audition logo ACME logo Beluvia Bar Store logo Desaltera logo Fête des Loges logo GD Menuiseries logo 3G Immo logo Lavish logo Maison du Feu logo Mieux Fiscal logo MYF Tea logo
Go deeper

Articles to go further on the images too heavy on WordPress guide.

See all articles
What they say about working with us

Google reviews about the support we provide for the Images too heavy in wordpress. page

Google logo 4,8/5 243 verifiable Google reviews Read the reviews
★★★★★
“A WordPress pro. His skills, his grasp of what we needed and his clear explanations made the whole project run smoothly.”
Nicolas Le Couteur Review published on Google
★★★★★
“Always available to answer questions, very professional. Every technical problem we ran into was resolved.”
Cuong Doan Review published on Google
★★★★★
“A professional who listens to his clients. Thank you for the commitment and the time spent on our project.”
Sakina Sedkaoui Review published on Google
★★★★★
“Someone you can trust, who understood my needs straight away and put an effective strategy in place.”
Vincent Loustalot Review published on Google
★★★★★
“Very attentive, motivated and able to propose tailored SEO strategies. The quality of the work is remarkable.”
Marine Mongodin Review published on Google
★★★★★
“Quality work, delivered on time. Maxime is responsive, suggests relevant adjustments and delivers careful work.”
Olivier Opron Review published on Google
★★★★★
“Spot on, perfect work, nothing to fault!”
Robin Gomez Review published on Google
★★★★★
“Maxime adapts very quickly, even to the trickiest technical situations. The result is always there.”
Philippe Bertieaux Review published on Google
★★★★★
“Impeccable work from start to finish, highly responsive and flawless quality.”
Alex Houillon Review published on Google
★★★★★
“The site is fast and visually very good. Maxime also helped us build our SEO strategy.”
Lois Guillermond Review published on Google
★★★★★
“An exceptional developer.”
Honoré Comlan Koumondli Review published on Google
★★★★★
“Maxime showed great professionalism and great creativity in helping us build our charity’s website.”
Julien-Benoit Birman Review published on Google
★★★★★
“A solid understanding of search optimisation when building a WordPress site.”
JM Review published on Google
★★★★★
“Maxime is responsive, a good teacher, and anticipates what is needed to get the strategy right.”
Romain Bergé Review published on Google
Your site deserves better

Let’s talk about your hosting

Tell us about your project. You get a clear recommendation, no jargon and no commitment.

Get my recommendation Reply within 12 hours • Migration handled • Free quote Active infrastructure
Google logo 243 Google reviewsVerifiable public reviews
Find my plan