WordPress Image Sizes: Every Default and Thumbnail Size
One upload becomes up to eight files before any plugin adds its own. Every default WordPress image size, where each one is defined, and which ones Settings › Media can change.
WordPress core registers six image sizes, but Settings › Media shows only three of them, and large uploads get a seventh file, the -scaled copy. Themes and plugins add their own sizes on top. Once you know where each size is defined, it is clear why changing a setting sometimes "does nothing" and which knob actually controls each file.
This page covers what WordPress generates. What to upload for a featured image, and how a theme displays it, is in WordPress featured image size.
Every file core creates on upload
| Size name | Default | Crop | Where it is defined | Change in Settings › Media? |
|---|---|---|---|---|
thumbnail |
150 × 150 | Yes, exact | Options thumbnail_size_w, thumbnail_size_h, thumbnail_crop |
Yes: "Thumbnail size" + "Crop thumbnail to exact dimensions" |
medium |
up to 300 × 300 | No | Options medium_size_w, medium_size_h |
Yes: "Medium size" |
medium_large |
768 wide, any height | No | Options medium_large_size_w (768), medium_large_size_h (0) |
No |
large |
up to 1024 × 1024 | No | Options large_size_w, large_size_h |
Yes: "Large size" |
1536x1536 |
up to 1536 × 1536 | No | add_image_size() in core, on plugins_loaded |
No |
2048x2048 |
up to 2048 × 2048 | No | add_image_size() in core, on plugins_loaded |
No |
-scaled copy |
longest side 2560 | No | big_image_size_threshold filter (2560) |
No |
-rotated copy |
original dimensions | No | EXIF orientation other than 1, below the threshold | No |
| Original | as uploaded | — | Kept on disk; recorded as original_image when a copy replaces it |
— |
Core's own comments describe 1536x1536 as "2x medium_large" and 2048x2048 as "2x large". They exist so high-density screens get a sharp file through srcset.
When an image is larger than 2560 pixels on either side, the -scaled copy becomes the attachment's main file, and that is what "Full Size" serves. The sub-sizes are still made from the original, for better quality. Changing or turning off the threshold is covered in how to resize images in WordPress.
Here is what one upload produced on a site running Twenty Twenty-Five and WooCommerce with default settings:
One 3000 × 2000 JPEG uploaded to a WordPress 7.1.5 test install (default Settings › Media, WooCommerce active) produced eleven files:
mountain-lake.jpg 3000×2000 original, kept as original_image
mountain-lake-scaled.jpg 2560×1707 the "full" size WordPress serves
mountain-lake-2048x1365.jpg 2048x2048
mountain-lake-1536x1024.jpg 1536x1536
mountain-lake-1024x683.jpg large
mountain-lake-768x512.jpg medium_large
mountain-lake-300x200.jpg medium
mountain-lake-150x150.jpg thumbnail (cropped)
mountain-lake-600x400.jpg woocommerce_single
mountain-lake-300x300.jpg woocommerce_thumbnail
mountain-lake-100x100.jpg woocommerce_gallery_thumbnail
Eight come from core; the last three are WooCommerce's own registered sizes.
Everything after the core files comes from plugins and the theme. WooCommerce adds three shop sizes, described in WooCommerce product image size. A theme that calls set_post_thumbnail_size() adds post-thumbnail. Twenty Twenty-Five doesn't, so it adds none.
When a size is skipped
WordPress never enlarges an image. The rules in image_resize_dimensions():
- Width-only size (
medium_large): skipped if the upload is narrower than 768 pixels. - Box size (
medium,large, 1536, 2048): skipped only if the upload is smaller than the box in both directions. A 1200 × 500 banner still gets alargefile, at 1024 × 427. - Cropped size (
thumbnail): the same both-directions rule. A 100 × 400 image gets a 100 × 150 thumbnail, not a 150 × 150 one. - Any size whose result would be virtually the same as the original is skipped too.
So an 800 × 600 upload gets thumbnail, medium and medium_large, and nothing above. The browser then stretches the largest file that exists, which is the usual cause of blurry images.
Changing or turning off sizes
| To change | Do this |
|---|---|
| thumbnail, medium, large | Settings › Media. Set both values to 0 and the size is no longer generated |
medium_large |
Set the option: wp option update medium_large_size_w 0 with WP-CLI |
1536x1536, 2048x2048 |
remove_image_size() in a plugin or theme, which runs after core registers them |
| Theme and plugin sizes | remove_image_size() or the intermediate_image_sizes_advanced filter. See add_image_size |
| The -scaled copy | big_image_size_threshold: return another number, or false to turn it off |
New values apply only to new uploads. Existing images keep their old files until you regenerate thumbnails. Before removing medium_large or the 1536 and 2048 sizes to save disk space, remember they are what srcset uses for high-density screens.
To list every size registered on a site, including theme and plugin sizes:
wp media image-size
Which sizes the editor offers
The Image block's Resolution control shows Thumbnail, Medium, Large and Full Size. It lists only sizes that actually exist for that image. medium_large, 1536 and 2048 are never offered. A theme or plugin adds its own sizes to the list through image_size_names_choose.
The choice sets the src, the width/height attributes and the sizes attribute, which defaults to (max-width: 1024px) 100vw, 1024px for a 1024-wide file. srcset then lists every generated file of the same aspect ratio, capped at 2048 pixels wide by max_srcset_image_width. The cropped thumbnail is left out unless the original is square. Lazy-loaded images get auto, prepended to sizes (since WordPress 6.7), so browsers that support it use the rendered width instead.
Where sizes are recorded
Each attachment's _wp_attachment_metadata stores the width, height and filename of every generated size, plus original_image when there is a -scaled or -rotated copy. srcset and wp_get_attachment_image_src() read that record, not the disk. So files deleted over FTP still appear in the HTML as broken images, and files copied in without the database are invisible to WordPress. Every size is also another file to compress, which is why image optimization quotas count sizes, not uploads.
Common mistakes
- Making
largenarrower than the content column, so every image inserted at Large is stretched. - Changing Settings › Media on a live library without regenerating, so old and new posts don't match.
- Unticking "Crop thumbnail to exact dimensions" on a theme whose grids expect squares.
- Expecting Settings › Media to control theme layouts: a template that outputs its own registered size ignores those three fields.
Verify
- Upload a photo larger than 2560 pixels and list the uploads folder: the original, a
-scaledfile and one file per registered size. - Run
wp media image-sizeand compare it with the table above. Anything extra came from the theme or a plugin. - Insert the image at Large, view the page and confirm
srcsetlists several widths up to 2048.
Frequently asked
- Six sizes: thumbnail (150 × 150, cropped), medium (up to 300 × 300), medium_large (768 wide), large (up to 1024 × 1024), 1536x1536 and 2048x2048. Uploads longer than 2560 pixels on either side also get a -scaled copy, and the original is kept.
- 150 by 150 pixels, cropped to exact dimensions because "Crop thumbnail to exact dimensions" is ticked by default in Settings › Media. Untick it and thumbnails become proportional, fitting inside 150 × 150.
- Sizes are generated once, at upload. New values apply to images uploaded afterwards, and existing images keep their old files until you regenerate thumbnails. Also check that your theme actually outputs that size: many templates use their own registered sizes.