Resize an Image for WordPress
WordPress accepts almost any upload and generates its own copies, which is why a single phone photo can leave four files on the server. The cost is easier to see measured: one 4000×3000 original is 1,360,339 bytes, while the canvas a post actually displays is a fraction of that. This page compares the two and explains what the media library really stores.
Try the free tool now
100% in your browser — no upload, no account, no watermark.
Open WordPress Image SizesOriginal versus the size that ships
Each placement below was measured on the same photographic fixture, exported as JPEG at the tool's fixed 0.92 quality. The last column is how many times heavier the untouched original is than that export.
| Placement canvas | JPEG bytes | Original ÷ export |
|---|---|---|
| 1600×900 | 426,161 B | 3.19× |
| 1280×720 | 277,623 B | 4.90× |
| 1200×630 | 228,762 B | 5.95× |
| 800×800 | 196,294 B | 6.93× |
| 400×400 | 53,032 B | 25.65× |
A post with a 1200×630 featured image makes every visitor download 1,360,339 bytes to display 228,762 bytes of pixels — 1.13 MB of transport for a 223 KB image. The browser throws the extra detail away at render time; the transfer is already spent.
What the media library keeps
Every registered size produces a separate file: thumbnail, medium, medium-large and large are the four defaults, and themes add their own. The original always stays, because WordPress cannot regenerate sizes it never stored. A theme that registers three extra sizes turns one upload into eight files.
Those copies keep the source ratio unless the theme registers an explicit crop. A 4000×3000 upload gives 1600×1200, not 1600×900 — the 16:9 shape only appears when a theme asks for a hard crop, and that copy is cut rather than resized. This is why the same photo can look correct in one slot and trimmed in another.
The practical consequence: uploading at the size the largest slot needs means the generated copies are small to begin with. Uploading the camera original means every copy is derived from 12 megapixels of detail that no slot displays.
1200×630, 1200×627 and 1200×628
Three near-identical preview canvases exist because different sharing surfaces round the same ratio differently. The measured photo costs 228,762 bytes at 1200×630, 228,571 at 1200×628 (191 bytes less) and 228,460 at 1200×627 (302 bytes less). The difference is noise, well under 0.2%.
The meaningful comparison is 16:9 against that ratio. A 1280×720 export measures 277,623 bytes, 21.4% heavier than 1200×630, for a canvas that most content columns scale back down anyway. If the theme's featured slot is 1200 wide, export 1200.
What srcset actually picks
WordPress prints a srcset attribute listing every registered size, and the browser picks from it using the slot width and the screen density. That only helps when a suitably small candidate exists. With the original in the list, a high-density phone screen asks for twice the CSS width — a 600-pixel column requests 1200 pixels — and a wide monitor can push the choice to the largest candidate, which is the original scaled by the browser rather than by the server.
The 1,360,339-byte download in the first table is that case: a 223 KB slot filled by a 1.13 MB transfer. Pre-sizing the upload makes the heaviest available candidate the correct one, so the selection stops mattering.
Five steps
- Find the largest width the theme actually renders — the content column, not the browser window.
- Load the source (.jpg, .jpeg, .png or .webp, up to 20 MB).
- Keep aspect lock on and type the target width; the height follows the source ratio.
- Download the JPEG, or a PNG when the image needs transparency.
- Upload the derivative and leave the camera original out of the library.
One export is one of the 20 free daily operations. Preparing two sizes — one for the featured slot, one for in-content use — is two operations and removes most of the generated copies WordPress would otherwise keep.
About this guide
- Written by
- The ImageTools Pro team
- Last reviewed
- October 2026
- How we test
- Steps run in a real browser on real PNG, JPEG and WebP files
We revise this page whenever browser APIs, format support or recommended settings change. Corrections are welcome — tell us from the contact page.
Tools we recommend
Frequently Asked Questions
Should I upload the original to WordPress?
Rarely. A 1200×630 slot costs 228,762 bytes pre-sized against 1,360,339 bytes for the untouched 4000×3000 original.
Does WordPress shrink my image automatically?
It generates registered sizes and can scale the original down, but it keeps the upload too, so the heavy file still occupies the library.
Why is my 16:9 image cropped in the theme?
A theme can register a hard crop, which cuts the file to the slot's ratio. Without that, generated copies keep the source proportions.
What size should a featured image be?
Use the width the theme registers — 1200×630 is the common preview canvas, and 1280×720 measures 21.4% heavier for no extra visible detail.