WordPress Image Optimization Guide
CMSChoose source images, responsive sizes, and crops for WordPress.
WordPress image performance depends on the theme’s rendered image size, responsive markup, and server processing support. Use Media Library images through WordPress APIs, choose source sizes for the layout, and inspect the generated srcset and sizes values. There is no single pixel size or upload limit for every WordPress site.
Recommended Image Sizes
These are suggested design canvases, not maximum upload dimensions. The theme or publishing placement determines the final display.
| Image Type | Recommended Size | Aspect Ratio |
|---|---|---|
| featured | 1200x630 | 1.91:1 |
| thumbnail | 150x150 | 1:1 |
| medium | 300x300 | 1:1 |
| large | 1024x1024 | 1:1 |
| medium_large | 768xAuto | auto |
| full | 2560x2560 | original |
| 1536x1536 | 1536x1536 | original |
| 2048x2048 | 2048x2048 | original |
| woocommerce single | 600x600 | 1:1 |
| woocommerce gallery | 100x100 | 1:1 |
Platform Features
- ✓ Registered image sizes and crops
- ✓ Responsive image markup through WordPress APIs
- ✓ Host-dependent output format support
Recommended Format
JPEG or WebP for photos; PNG for exact raster graphics. Compare the final output at its displayed size.
Upload size guidance: Depends on host and site configuration
How responsive images work
WordPress can generate multiple registered sizes and add srcset and sizes to image markup. Themes and plugins can register different crops. Compare the browser’s selected source with the rendered image size before changing the upload.
Choose a processing workflow
Keep original files and test optimization on photos, text-heavy graphics, and transparency. Check whether your host supports the desired output format. Use one coherent processing workflow so several plugins do not repeatedly compress the same derivative.
Measure the published theme
Check the first visible image’s loading priority and explicit dimensions. Lazy-load off-screen images and compare requests on narrow and wide screens. A plugin cannot fix an inaccurate sizes value or a layout that requests an unnecessarily large source.
Related Guides
The Complete Responsive Images Guide
Responsive images with srcset, sizes and picture: resolution switching, art direction, and the patterns that stop the browser guessing wrong.
Lazy Loading Implementation Strategies
Image lazy loading done right: the native loading attribute, Intersection Observer, placeholders, and the images you must never defer.
WebP Guide: Browser Support, Quality Settings and Transparency
WebP works in every current browser; Safari added it last, in version 14. Quality settings, lossless or lossy, transparency, animation and conversion.
Image Preloading and Priority Hints
Master image preloading and fetchpriority for optimal performance. Learn when to preload, priority hints, responsive preloading, and avoiding common mistakes.
Frequently Asked Questions
What is the maximum WordPress image upload size?
It depends on the server, hosting plan, PHP configuration, and site settings. Check the limit shown in Media Library and the host’s documentation; a suggested image size is not an upload ceiling.
Does WordPress automatically make responsive images?
WordPress supports responsive markup for images rendered through its APIs. Custom HTML, CSS backgrounds, themes, and plugins can bypass or change that behavior, so inspect the published page.