Converting Images for WordPress: A Complete Guide

WordPress generates thumbnails and responsive srcsets automatically. Yet images are often unoptimized. Learning WordPress image best practices saves bandwidth and improves performance.

Upload Size and Format

Upload JPEG or PNG at 1.5–2x your largest display size. WordPress generates smaller versions automatically. Never upload 4000px wide images if your theme displays 800px max.

Featured Images

WordPress themes define featured image dimensions. Provide images at that size to avoid stretching or cropping. Upload pre-optimized JPEG (~50–200KB).

Thumbnail Regeneration

If you change theme, WordPress does not automatically regenerate thumbnails. Use "Regenerate Thumbnails" plugin to fix.

WebP Support

WordPress natively supports WebP uploads (since 5.8). Upload WebP if your hosting supports it. WordPress serves JPEG fallback to older browsers automatically.

Image Optimization Plugins

Plugins like Imagify, ShortPixel, and Ewww Image Optimizer compress images automatically on upload. They convert to WebP and serve format negotiation.

Lazy Loading

WordPress 5.5+ supports native lazy loading (loading="lazy"). Enable it in theme settings. No plugin needed.

CDN Integration

Use CloudFlare, Bunny CDN, or similar. CDN serves images from edge locations and handles format negotiation (WebP to browsers that support it).

Pre-Upload Optimization

Before uploading to WordPress, optimize with QuickConvert. Reduce size to ~50KB JPEG and upload that. WordPress handles srcset from there.

Srcset Verification

Inspect element on your site and verify srcset is present. WordPress should generate multiple image sizes. If not, check theme settings.