Skip to main content
WordPress image optimization

WordPress Image Optimization Guide

CMS

Choose 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

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.