Skip to content
Images & media

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.

Published Updated

TL;DR: Right-click the image, open it in a new tab, and check the filename. If it ends in -scaled.jpg, WordPress capped your upload at 2560px on its longest edge and is serving that reduced copy instead of your original: raise big_image_size_threshold, then regenerate thumbnails (if you raised it to a number) or delete and upload the image again (if you turned the cap off). If it ends in a dimension suffix such as -1024x683.jpg, the cap is not the problem; the page asked for a size that is smaller than the box it fills. The test further down shows how each fix behaves.

Most of the time the image itself is fine. The browser has been given fewer pixels than the box needs, and stretches them. Since WordPress 5.3, any image wider or taller than 2560px is replaced as the full size by a -scaled copy maxed at 2560px on its longest edge, and that smaller file is what a theme stretches to fill a hero, a full-width block or a high-density display. The fix is to find out which file is being served, then either raise the threshold, ask for a bigger size, or stop placing images in boxes larger than the source.

Why it happens

When you upload a photo, WordPress runs wp_create_image_subsizes() (in wp-admin/includes/image.php). If the longest edge is over big_image_size_threshold, 2560px by default, it saves a resized copy as your-photo-scaled.jpg and records that copy as the attachment’s file, so the full size now points at it. Your original stays on disk as your-photo.jpg, recorded as original_image and reachable with wp_get_original_image_path(), but nothing on the front end serves it.

The cap only touches that one file. Every other size is made from your original: when we logged every file WordPress’s image editor opened during an upload, it was always the original and never the -scaled copy. Why one upload turns into eight files, and which of them a theme can ask for, is covered in WordPress thumbnail sizes explained. The mechanism behind the suffix, and the three settings for the cap, are in why WordPress adds -scaled to images.

So here’s the blur. You upload a crisp 4000px image for a full-bleed header. WordPress caps it at 2560px. On a standard display in a 1600px-wide container, that’s fine. On a 2x screen the browser needs roughly 3200 real pixels to fill that container sharply, only has 2560, and upscales the difference: soft edges, fuzzy text inside the image, exactly the “blurry after upload” symptom.

The other half of the same problem is srcset picking a size that’s too small. If your theme reports a content width that doesn’t match the actual rendered box, WordPress hands the browser a -1024x683 or -1536x1024 copy and it gets stretched up. The cause is the same (a display box larger than the pixels available), with a different trigger.

Here’s every size WordPress registers by default, and the longest edge it caps each one to:

Size nameMax dimensionsAdded inWhat stretches it if your display box is bigger
thumbnail150 × 150 (cropped)CoreRarely; used for small previews
medium300 × 300CoreSmall inline images in narrow columns
medium_large768 × 0 (width-capped)WordPress 4.4Content-width blocks on tablet
large1024 × 1024CoreFull-width blocks on smaller desktops
1536x15361536 × 1536WordPress 5.3 (2x medium_large)2x displays showing a large-sized box
2048x20482048 × 2048WordPress 5.3 (2x large)2x displays showing a wide block
full (scaled)2560 × 2560WordPress 5.3 (big_image_size_threshold)Full-bleed heroes, 2x displays on a container over 1280px

The last row is the one this guide is about. Everything above it is made from your original regardless of the cap. On a 2x screen a box needs roughly twice its CSS width in real pixels, and 2560 ÷ 2 = 1280, so a container wider than 1280 CSS pixels runs out of pixels even on an untouched install. The WordPress image sizes cheat sheet lists these defaults on one page, with WooCommerce’s sizes and recommended upload sizes.

When the 2560px file never reaches the browser

srcset has its own limit. WordPress leaves out any candidate wider than 2048px (the max_srcset_image_width filter) unless that file is the image’s src. So if a block or theme asks for large, the widest file a browser can pick is the 2048px copy, and a 2x screen runs out of pixels above a box about 1024 CSS pixels wide, whatever the cap is set to. srcset also only lists copies with the same aspect ratio as the requested size, so a hard-cropped size can end up with no srcset at all.

In the block editor the fix for one image is the Image block’s Resolution setting in the sidebar. New Image blocks use Large unless you changed the default image size; choose Full Size for a hero or a wide image so the src is the full-size file and srcset can include it.

Check what WordPress actually served

Don’t guess. Right-click the blurry image, open it in a new tab, and look at the filename in the URL. -scaled.jpg means the cap fired. A dimension suffix like -1024x683.jpg means the browser is rendering one of the smaller copies. Either way you have confirmed it is a derivative and not your upload. You can also inspect the element and read currentSrc to see exactly which candidate the browser chose.

WordPress attachment details for a 4000 pixel upload: File name photo-scaled.jpg, Dimensions 2560 by 1920 pixels
You can also see this in the Media Library. Our 4000 x 3000 test upload is listed as photo-scaled.jpg at 2560 x 1920.

To see the whole picture before you re-upload anything, drop the image into the WordPress Image Size Lab. It shows every copy WordPress will make of that exact file, including whether a -scaled copy gets created and at what dimensions, so you know upfront whether your source is big enough for where you’re placing it.

On the server you can list every capped file:

find wp-content/uploads -name '*-scaled.*'

Large PNGs count too. Up to WordPress 6.7 the cap skipped PNG files; from 6.8 on, a PNG over 2560px gets a -scaled copy like a JPEG (read from the 6.7 and 6.8 source, not run).

How to fix it, in order

1. If your images legitimately need to be larger than 2560px (large heroes, 2x displays, print-quality galleries), raise the threshold:

// functions.php or a small mu-plugin
add_filter( 'big_image_size_threshold', function () {
    return 3840; // longest edge, in pixels
} );

Or turn the cap off entirely:

add_filter( 'big_image_size_threshold', '__return_false' );

2. Fix the images already in your library. The right way depends on which filter you used. Changing the threshold on its own only affects new uploads. We tested what regenerating does on 2026-11-06, on a local WordPress Playground site running WordPress 7.1.4, PHP 8.3, the GD image editor and Twenty Twenty-Five. One 5696 × 4784 JPEG was uploaded at the default cap, the filter was changed, and the image was 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:

What you did to the thresholdThen youResult WordPress servedWidest srcset candidate
Raised it to a number (return 3840;)Regenerated with WP-CLI or Regenerate ThumbnailsA new -scaled.jpg at 3840 × 3225: fixed3840w
Turned it off (__return_false)Regenerated with WP-CLI or Regenerate ThumbnailsThe same old 2560 × 2150 file, now labelled 5696 × 4784: not fixednone
Turned it off (__return_false)Deleted the attachment and uploaded it againThe real 5696 × 4784 original5696w

So if you raised the threshold to a specific number, regenerating thumbnails is enough and no re-upload is needed. If you turned the cap off completely, regenerating does nothing useful, because the attachment still points at the old -scaled file; only deleting and re-uploading serves the real original. Don’t regenerate first and delete later in that case: deleting an image that had been regenerated with the cap off left its original file on disk in all 4 of our tries. The limits of the test: one photo, GD only, and the results come from WordPress’s own functions and the files on disk, with no page checked in a browser. Uploads that WordPress 7.1 processes in the browser (Chrome and Edge 137 and later, on HTTPS or localhost) were not part of it.

Before you delete anything to re-upload it, note that deleting an attachment removes it from every post, featured image and gallery that currently uses it. Re-add it in each place after the re-upload, or duplicate the post first if you need to keep the old version around.

3. If your source is already 2560px or smaller and still blurry, the threshold isn’t your problem: the display box is bigger than the image. Upload a larger source, or shrink the container. For sharpness on a 2x screen, your source needs to be roughly twice the CSS pixel width of the box it fills (see the table above: a 1280px-wide container at 2x needs the full 2560px the default cap allows, and anything wider needs a higher threshold). Also check the block’s Resolution setting, since a block set to Large never offers more than 2048px.

What not to do

Don’t crank JPEG quality to 100. WordPress saves resized JPEGs at a default quality of 82 (WebP at 86), and the wp_editor_set_quality filter changes it. Some guides suggest overriding it:

add_filter( 'wp_editor_set_quality', function () { return 90; } );

That’s fine for reducing compression artifacts, but a stretched, upscaled image has too few pixels, and quality doesn’t add any. Going from 82 to 100 makes your files much larger and does almost nothing for the softness you’re seeing. If compression artifacts are the actual issue, see stop WordPress compressing your images at 82%.

Don’t disable -scaled as a reflex. Turning off the cap (the Disable WordPress -scaled Images generator writes the filter for you) is the right call if you serve images above 2560px. If your real issue is a too-small copy getting stretched, disabling it changes nothing and visitors download larger files for no reason. Diagnose first.

Don’t blame the cache before checking which threshold filter you used. Clearing a CDN or page cache won’t touch a file that is small on disk. Regenerating thumbnails can restore resolution, but only if you raised big_image_size_threshold to a number first; it does nothing useful if you used __return_false (see the table above).

Don’t reach for the theme’s CSS or object-fit. No amount of styling adds pixels. If the served file ends in -scaled or a dimension suffix, the file is the problem, not the layout.

Still stuck?

Running a store? WooCommerce has its own three image sizes on top of this. See WooCommerce product image size if the soft images are specifically catalog or product photos.

If you’ve confirmed the served file is your full-resolution upload (no -scaled, no dimension suffix) and it’s still soft, check whether a plugin (an optimizer, a CDN image resizer, or a lazy-load library) is rewriting your src to a compressed proxy. Run the image through the Image Size Lab to confirm what WordPress should be generating, then compare that against what the browser actually loads. When those two disagree, something between WordPress and the browser is the culprit.

The symptom is specifically the featured image, not inline content? The featured image size guide covers which size the Post Featured Image block and classic themes request, which is a different path from the full/-scaled one this guide covers. And if raising the threshold or keeping full-size originals is filling up your server, see why your uploads folder is so large for what to trim instead of undoing the fix you just made.

Sources

William Lopez

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.

WordPress.org About

FAQ

Questions

Why are my WordPress images blurry after upload?

Usually the file the browser gets has fewer pixels than the box it fills. Since WordPress 5.3, any image wider or taller than 2560px is replaced as the full size by a -scaled copy capped at 2560px on its longest edge. The other common cause is srcset offering only smaller copies, such as 1024px or 2048px wide, for a box that needs more.

What does -scaled mean in a WordPress image filename?

It means WordPress capped that upload at 2560px on its longest edge and serves the reduced copy as the full size. Your original stays on disk. The thumbnail, medium, medium_large, large, 1536 and 2048 sizes are all made from that original, not from the -scaled file; in our test WordPress's image editor opened only the original every time.

How do I stop WordPress from resizing images over 2560px?

Add a filter on big_image_size_threshold in functions.php or a small mu-plugin. Return a larger number such as 3840 to raise the cap, or use __return_false to turn it off. With a number, regenerating existing images was enough in our test. With the cap turned off, regenerating left the attachment on the old -scaled file with no srcset, and only a fresh upload served the original.

Does regenerating thumbnails fix blurry WordPress images?

It depends on what you changed. On WordPress 7.1.4, raising big_image_size_threshold to 3840 and then regenerating with WP-CLI or the Regenerate Thumbnails plugin produced a new 3840px -scaled file with srcset up to 3840w. Turning the cap off with __return_false and then regenerating left the same 2560px file in place, labelled as the full original and with no srcset. In that case delete the image and upload it again.

Will increasing JPEG quality make my WordPress images sharper?

Not when the image is being stretched. WordPress saves resized JPEGs at a default quality of 82 (WebP at 86), and you can change that with the wp_editor_set_quality filter, but a higher number only reduces compression artifacts. An upscaled image is a resolution problem, so going from 82 to 100 makes the files much larger and does almost nothing for the softness.