Disable WordPress -scaled Images
Stop WordPress silently shrinking your big uploads
Runs in your browser. Nothing is uploaded.
About the Disable WordPress -scaled Images
Check whether WordPress will make a -scaled copy of your image, see its exact size, and get the PHP to raise the 2560px threshold or turn scaling off.
Worked example: a 5696 × 4784 camera photo
Input
Width (px): 5696
Height (px): 4784
Raise the threshold instead of removing it: ticked
New threshold (px): 3840 Result and generated code, shortened (the explanation the tool prints under the first line is left out)
5696×4784 → 2560×2150
With your 3840px threshold: the -scaled copy becomes 3840×3225.
<?php
/**
* Generated at odiethemes.com/tools/wordpress-disable-scaled-images
*
* Since WordPress 5.3, an upload wider or taller than 2560px gets a
* "-scaled" copy, which WordPress serves as the full-size image.
* This filter changes that for uploads made after it is active.
*/
// Keep the safety net, but raise the ceiling to 3840px.
add_filter( 'big_image_size_threshold', function () {
return 3840;
} ); - The first line is what WordPress does by default: the photo is wider than 2560px, so it saves a copy that fits inside 2560 × 2560, keeping the shape, and serves that copy as the full-size image.
- The second line is what changes with the filter: the copy fits inside 3840 × 3840 instead. When we uploaded this photo to WordPress 7.1.4 (PHP 8.3, GD, 2026-11-05/06), the default copy was 2560 × 2150, and after the 3840 filter and a regenerate it was 3840 × 3225.
big_image_size_thresholdis the filter WordPress checks before it makes the copy. Returning a number sets the limit in pixels; returning false turns the copy off, which is what the other option writes.
When you need it
Since WordPress 5.3, an upload wider or taller than 2560px gets a scaled-down copy, and that copy becomes the image your site serves as the full size. One that is only 1px over is left alone, because WordPress skips a resize that would come out within 1px of the original. Use this tool if your photos look soft after upload, if you sell prints or high-resolution downloads, or if your theme needs hero images wider than 2560px.
How to use it
- Enter your image's width and height to see what WordPress will do with it.
- Choose to turn scaling off, or raise the threshold to a number you pick.
- Paste the PHP into a child theme's functions.php or a small plugin.
- Deal with images already on the site. With a raised threshold, regenerating thumbnails (for example wp media regenerate) makes a new, larger -scaled copy. With scaling turned off, regenerating keeps serving the old 2560px file and drops its srcset, so upload those images again. We tested both on WordPress 7.1.4 with WP-CLI 2.12.0 and Regenerate Thumbnails 3.1.6 on 2026-11-06.
Common mistakes
- Turning scaling off and regenerating, then expecting the full-resolution image. The old -scaled file stays the full size until you upload the image again.
- Pasting the code into a parent theme's functions.php. A theme update replaces that file and your filter goes with it.
- Turning scaling off for every image on a busy blog. Very large originals cost visitors bandwidth wherever a page loads the full size, so raising the threshold is often the better trade.
- Deleting the original to save space. WordPress keeps it on purpose: the WordPress 7.1.4 source makes every other size from the original, not from the -scaled copy.
Sources
- WordPress Code Reference: big_image_size_threshold hook
- WordPress Code Reference: wp_create_image_subsizes()
- WordPress Code Reference: image_resize_dimensions()
- WordPress Code Reference: wp_get_original_image_path()
- WP-CLI Commands: wp media regenerate
Limits
- The tool checks one image size at a time. The Image Size Lab shows the -scaled copy together with every other file an upload gets.
- Plugins can change or remove the threshold themselves. The result assumes nothing else filters big_image_size_threshold.
- Our tests used GD. In the WordPress 7.1.4 source both GD and Imagick get their dimensions from the same function, so the numbers should match, but we did not test Imagick.
Guides for this tool
- 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.
- Why WordPress Images Look Blurry After Upload, and the Fix
Blurry after upload? Check whether WordPress capped the file at 2560px or served a too-small size, then fix it. Includes a regenerate test on WordPress 7.1.4.
FAQ
Questions
Why does my image look blurry after uploading to WordPress?
One common reason: since WordPress 5.3, an upload wider or taller than 2560px gets a "-scaled" copy that fits inside 2560 × 2560, and WordPress serves that copy whenever a page asks for the full-size image. Your original stays on disk and is still used to make the other sizes. Enter your image's width and height above to see whether it is affected.
Should I disable -scaled images entirely?
Only deliberately. With scaling off, your original becomes the full-size image, so anything that loads the full size (a lightbox, a link to the file, a theme that uses the full size) downloads the whole file. That suits photography and print sites. For a typical blog, raising the threshold to a number such as 3840 is often the better middle ground.
Does this fix images I already uploaded?
Not by itself. If you raise the threshold to a number, regenerating thumbnails (for example with wp media regenerate) makes a new, larger -scaled copy. If you turn scaling off, regenerating keeps serving the old 2560px file, so upload the image again. We tested both on WordPress 7.1.4 with WP-CLI 2.12.0 and Regenerate Thumbnails 3.1.6 on 2026-11-06.