Why WordPress Adds -scaled to Images and How to Stop It
WordPress adds -scaled to uploads over 2560px. Raise or turn off big_image_size_threshold, then regenerate or re-upload. Measured on WordPress 7.1.4.
Add a filter on big_image_size_threshold that returns false and WordPress stops creating -scaled copies on upload. Return a number instead and you raise the cap rather than removing it. Both go in functions.php or a small mu-plugin. Neither changes an image already in your library on its own: depending on which one you pick, you then regenerate thumbnails or upload the image again (step 2 below).
// Turn the cap off entirely: no -scaled copies at all.
add_filter( 'big_image_size_threshold', '__return_false' );
// Or just raise it. Longest edge, in pixels.
add_filter( 'big_image_size_threshold', function () {
return 3840;
} );
What WordPress is actually doing
Since WordPress 5.3, every upload gets measured on its longest edge. If that edge is larger than big_image_size_threshold (2560px out of the box), WordPress resizes a copy down to that limit, saves it as your-photo-scaled.jpg, and records that copy as the attachment’s file, so the full size now points at it.

-scaled copy as the file and links the original separately.Your original is not deleted. It stays on disk under its own filename, is recorded in the attachment metadata as original_image, and is reachable in PHP through wp_get_original_image_path(). Nothing on the front end links to it.
The other sizes are made from that original, not from the -scaled copy. The comment in wp_create_image_subsizes() says the sub-size names are unaffected “as they are generated from the original image (for best quality)”, and when we logged every file the image editor opened during an upload on WordPress 7.1.4, it only ever opened the original.
| Size | Built from |
|---|---|
full | the -scaled copy, which is itself made from your original |
thumbnail, medium, medium_large, large, 1536x1536, 2048x2048 | your original upload |
Custom sizes from add_image_size() | your original upload |
Theme and plugin sizes, such as woocommerce_thumbnail | your original upload |
srcset candidates | the sizes above that share the image’s aspect ratio and are at most 2048px wide; the 2560px -scaled file is added only when it is the src |
So the cap limits one file, the one full points to. That is the file a theme gets when it asks for the full size, and the widest srcset candidate when the full size is the src. The guide to WordPress thumbnail sizes lists every copy one upload turns into. To see them for your own photo, the -scaled one included, drop it into the WordPress Image Size Lab.
PNG files and rotated photos
Up to WordPress 6.7, wp_create_image_subsizes() skipped the cap for PNG files. The source comment gave the reason: scaling large PNGs “may result in sub-sizes that have greater file size than the original” (ticket #48736). That check is gone from WordPress 6.8 on, so a PNG over 2560px now gets a -scaled copy like a JPEG does. We read this in the 6.7, 6.8 and 7.1.4 source and have not run a large PNG upload through it.
If a photo carries an EXIF orientation flag, WordPress turns it upright while making the -scaled copy. A photo under the cap that needs turning gets a -rotated copy instead, which then plays the same role: it becomes the file full points to, and the original stays on disk.
Why this is the usual cause of “my sharp image looks soft”
The cap can soften an image in two ways. The first is resolution. A theme that shows the full size in a wide hero box on a high-density screen can need more than 2560 real pixels, and the browser stretches what it gets. How to work out what a given box needs is in why WordPress images look blurry after upload.
The second is re-encoding. The -scaled copy is a new file: WordPress decodes your upload, resizes it and compresses it again at its default quality, 82 for JPEG and 86 for WebP. If your original was already a compressed JPEG out of Lightroom or a phone, that is a second round of compression on top of the first. Our 5696 x 4784 test photo was 2,416,996 bytes, and its -scaled copy came out at 884,855 bytes. What that quality setting does and how to change it is covered in how the WordPress image quality setting works and how to raise it.
Confirm it before you change anything. Open the image in a new tab and read the filename in the URL. -scaled.jpg means the cap fired. A dimension suffix like -1536x1024.jpg means something else: srcset picked an intermediate size that was too small, and the threshold filter will not help you there.
On the server:
find wp-content/uploads -name '*-scaled.*' | wc -l
If that number is large, the cap has been shaping your whole library.
To check one photo before you upload it, enter its width and height in the Disable WordPress -scaled Images generator. It shows the size the -scaled copy would get and writes the filter for the setting you pick.
Default, raised or off: what each setting does
We measured all three settings on 2026-11-06 on a local WordPress Playground site (WordPress 7.1.4, PHP 8.3, GD image editor, Twenty Twenty-Five) with one 5696 x 4784 JPEG of 2,416,996 bytes. Each case used a fresh upload. For existing images we uploaded at the default cap, changed the filter, then regenerated with WP-CLI 2.12.0 (wp media regenerate <id> --yes) and, separately, with the Regenerate Thumbnails 3.1.6 plugin on its default settings. Both tools gave the same result.
| Default (2560) | Raised to 3840 | Turned off (__return_false) | |
|---|---|---|---|
full on a new upload | -scaled.jpg, 2560 x 2150, 884,855 bytes | -scaled.jpg, 3840 x 3225, 1,775,155 bytes | the original, 5696 x 4784, 2,416,996 bytes |
Widest srcset candidate when full is the src | 2560w | 3840w | 5696w |
| Files written per upload | 8 | 8 | 7 |
| An existing image after regenerating | not needed | a new 3840 x 3225 -scaled file, srcset up to 3840w | the same 2560 x 2150 file, now labelled 5696 x 4784, and no srcset |
| What to do with existing images | nothing | regenerate thumbnails | delete and upload again |
The six standard sub-sizes were byte-identical in every case, because they always come from the same original. The odd result is the last column. After regenerating with the cap off, WordPress records the original as the full size, but the attachment still points at the old 2560px file, so the <img> tag WordPress builds carries width="5696" height="4784" for a file that is 2560 x 2150, with no srcset. We read that from WordPress’s own functions and the files on disk; no page was loaded in a browser. The test used one photo and GD only, so treat other image editors as untested.
The honest trade-off
Most articles tell you disabling the cap costs disk space. That is backwards, and it is worth being precise about.
Disk use goes down. With the threshold on, WordPress stores your original and a large scaled copy. With it off, it stores only the original. In the test above the 884,855-byte -scaled copy was 19.3% of the 4,589,977 bytes one upload produced under the default cap. What all those copies add up to across a library is covered in why your WordPress uploads folder is so large.
Bandwidth and page weight go up where the full size is shown. With the cap off, full is your untouched upload. Anything that links or renders the full size (a lightbox, a gallery plugin, a “view original” link, a theme that asks for full in a hero) now sends that file: 2,416,996 bytes instead of 884,855 in our test, 2.7 times as much. On mobile that is a real Largest Contentful Paint problem. Pages that show large or a smaller size with srcset are unaffected, because srcset leaves out anything wider than 2048px unless that file is the src.
PHP memory during the upload barely changes. WordPress decodes the full original in both cases, because every sub-size is made from it. This comes from reading the WordPress 7.1.4 source; we did not measure memory.
For most sites, raising the number is the better choice: a 3840 cap made a 3840 x 3225 copy of 1,775,155 bytes in our test. Turning the cap off makes sense when visitors need the full resolution, such as print-quality galleries, product zoom or architectural photography, where a user is expected to inspect the original.
Applying the change properly
1. Put the filter somewhere it survives. functions.php in a child theme works. A one-file mu-plugin is better, because a theme switch cannot silently undo it.
<?php
/**
* Plugin Name: Raise big image threshold
*/
add_filter( 'big_image_size_threshold', function () {
return 3840;
} );
2. Regenerate or re-upload, depending on your setting. The filter only runs when WordPress creates an image’s sizes, so existing attachments keep their old files until you act. If you raised the cap to a number, regenerate thumbnails with wp media regenerate or the Regenerate Thumbnails plugin: WordPress rebuilds every size, the -scaled copy included, from your original. If you turned the cap off, regenerating does not help (see the table above). Delete the attachment, upload it again, and fix the references in your posts.
3. Do not regenerate with the cap off and delete afterwards. In our test, deleting an image that had been regenerated with the cap turned off left its 2,416,996-byte original on disk, 4 times out of 4. After that regenerate, WordPress no longer records the original as a separate file, and wp_delete_attachment_files() only removes the files it has on record. If you already did this, find the leftover original in the uploads folder, check that no other attachment uses that filename, and remove it by hand.
4. Check the result, do not assume it. Open the image on the front end and read the filename again. With a raised cap you should see a -scaled file at the new size; with the cap off, no -scaled file at all.
WordPress 7.1 can also create image sizes in the browser instead of on the server, in Chrome and Edge 137 and later on an HTTPS or localhost site; other browsers fall back to the server. The WordPress developer documentation says the browser receives the big_image_size_threshold value and makes the scaled copy itself. Every result on this page comes from the server-side PHP path with GD. We have not tested the browser path.
When disabling is the wrong move
If your source images are already under 2560px and they still look soft, the threshold was never involved. The display box is larger than the pixels available, and the answer is a bigger source file or a smaller container. The blurry-images guide linked above covers that diagnosis in full; for a WooCommerce store specifically, see WooCommerce product image size.
If the served filename carries a dimension suffix rather than -scaled, srcset chose a small candidate. That is usually a mismatch between your theme’s declared content width and the box the image actually renders in. Turning off the cap changes nothing about it.
And if a plugin is rewriting your src to an optimizer or CDN proxy, none of this applies until you check what that proxy is serving. Compare what WordPress should be generating against what the browser actually loads; when those disagree, look at what sits between them. Every image filter mentioned here, with its arguments, is also listed in the WordPress hooks index.
Sources
- WordPress Developer Resources: big_image_size_threshold, wp_create_image_subsizes(), wp_get_original_image_path(), wp_calculate_image_srcset()
- WP-CLI handbook: wp media regenerate
- Block Editor Handbook: Client-side media processing architecture
- WordPress 7.1.4 source: wp-admin/includes/image.php, wp-includes/media.php, wp-includes/post.php
- WordPress 6.7 source, with the PNG exception: wp-admin/includes/image.php
William Lopez is the founder of Odie Themes. He builds the free WordPress tools and themes on this site and has been on WordPress.org since December 2019.
FAQ
Questions
How do I disable scaled images in WordPress?
Add a filter on big_image_size_threshold that returns false. Put it in functions.php or a small mu-plugin. Returning false turns the cap off completely, so new uploads keep their original dimensions and no -scaled copy is created. Returning a number instead, such as 3840, raises the cap rather than removing it.
What is the -scaled suffix in a WordPress filename?
It marks a resized copy WordPress made because your upload was larger than 2560px on its longest edge. That copy becomes the full size your site serves. Your original stays on disk under its own name, and the other sizes (thumbnail, medium, large and the rest) are made from that original, not from the scaled copy.
Does disabling scaled images use more disk space?
No, it uses less, because WordPress stops writing the scaled copy. In our test a 5696 x 4784 photo made 8 files totalling 4,589,977 bytes with the default cap, and the -scaled copy was 884,855 bytes of that. The real cost is bandwidth: wherever the full size is shown, visitors download the original, which was 2,416,996 bytes in the same test.
Will changing the threshold fix images that are already blurry?
It depends on the change. If you raise the cap to a number such as 3840 and regenerate thumbnails, WordPress writes a new, larger scaled copy from your original; in our test both WP-CLI and the Regenerate Thumbnails plugin did this. If you turn the cap off with __return_false, regenerating leaves the attachment pointing at the old 2560px file, so delete the image and upload it again.
Is 2560px the right threshold to keep?
For most content sites, yes. A 2560px source covers a 1280px display box at 2x pixel density, which is the common case. Raise it to 3840 if you run full-bleed heroes, product zoom, or photography galleries. Turn it off only when you need to serve untouched originals.
More guides on this topic
- WordPress Thumbnail Sizes: Why One Photo Becomes 8 Files
- WooCommerce Product Image Size: Defaults and How to Change
- Stop WordPress Compressing Your Images at 82%
- Why Your WordPress Uploads Folder Is So Large
- WordPress Featured Image Size: 1200×630 + How to Find Yours
- Why WordPress Images Look Blurry After Upload, and the Fix