← Back to Blog

How to Reduce Image Size for WordPress Websites

WordPress is the most popular CMS in the world, powering over 40% of all websites. But with great power comes great responsibility — and image optimization is one of the most important responsibilities for any WordPress site owner.

In this guide, we'll show you exactly how to reduce image sizes for WordPress websites, improving speed, Core Web Vitals, and SEO rankings.

Why Image Optimization Matters for WordPress

  • Page speed: Images are the #1 cause of slow WordPress sites.
  • Core Web Vitals: Google uses LCP (Largest Contentful Paint) as a ranking factor.
  • SEO rankings: Faster sites rank higher in search results.
  • User experience: 53% of mobile users abandon sites that take over 3 seconds to load.
  • Hosting costs: Smaller images mean less bandwidth usage.
  • Mobile performance: Optimized images load faster on mobile devices.

Method 1: Use WordPress Image Optimization Plugins

The easiest way to optimize images in WordPress is to use a plugin. Here are the best options:

1. Smush

  • Free version: Yes
  • Key features: Bulk compression, lazy loading, WebP conversion
  • Best for: Beginners and sites with moderate traffic

2. Imagify

  • Free version: 20 MB/month
  • Key features: WebP support, bulk optimization, three compression levels
  • Best for: Sites that need quality compression

3. ShortPixel

  • Free version: 100 images/month
  • Key features: AVIF support, WebP, PDF optimization
  • Best for: Advanced users and high-traffic sites

4. EWWW Image Optimizer

  • Free version: Yes
  • Key features: Local compression, WebP, lazy loading
  • Best for: Sites that want local processing

5. Optimole

  • Free version: Yes
  • Key features: Cloud-based, automatic optimization, WebP
  • Best for: Sites that want hands-off optimization

Method 2: Compress Images Before Uploading

The most effective way to reduce image sizes is to compress images before uploading them to WordPress. This gives you full control over quality and file size.

Using JPG Small

JPG Small is the perfect tool for compressing WordPress images:

  1. Visit JPG Small
  2. Upload your image (supports JPG, PNG, WebP)
  3. Adjust the quality slider (75-85% is ideal for WordPress)
  4. Select the export format (JPEG for photos, WebP for best results)
  5. Click "Compress Image" and download
  6. Upload the compressed image to WordPress

💡 Tip: JPG Small processes everything locally in your browser. Your images never leave your computer!

Method 3: Use WordPress Built-in Features

WordPress has some built-in image features that can help:

Image Sizes

WordPress automatically creates multiple sizes of each uploaded image (thumbnail, medium, large). You can customize these sizes in Settings → Media.

Add this to your theme's functions.php to create custom sizes:

add_image_size('custom-large', 1200, 800, true);
add_image_size('custom-thumb', 400, 300, true);
                

Method 4: Enable WebP in WordPress

WebP is the modern image format that offers 25-34% smaller files than JPEG and PNG.

WordPress 6.0+ supports WebP natively.

You can upload WebP images directly — no plugin needed!

Convert existing images to WebP:

  • Use JPG Small to convert images to WebP before uploading
  • Use plugins like Imagify or ShortPixel to convert automatically

Method 5: Implement Lazy Loading

Lazy loading ensures images load only when they're about to appear in the viewport. WordPress 5.5+ includes native lazy loading:

<img src="image.jpg" loading="lazy" alt="Description">
                

Most optimization plugins also include lazy loading features.

Method 6: Use a CDN with Image Optimization

Content Delivery Networks (CDNs) can automatically optimize your images on the fly.

Best CDNs for WordPress:

  • Cloudflare: Free plan, Polish feature auto-optimizes images
  • Jetpack Site Accelerator: Free with WordPress.com account
  • BunnyCDN: Affordable, includes image optimization
  • KeyCDN: Good performance, optional image optimization

WordPress Image Optimization Checklist

  • ✅ Compress images before uploading (use JPG Small)
  • ✅ Use JPEG for photos, PNG for graphics, WebP for modern sites
  • ✅ Resize images to the exact dimensions needed
  • ✅ Use an optimization plugin (Smush, Imagify, ShortPixel)
  • ✅ Enable lazy loading
  • ✅ Use WebP format for browsers that support it
  • ✅ Use a CDN for image delivery
  • ✅ Set appropriate image sizes in WordPress settings
  • ✅ Use descriptive alt text for SEO
  • ✅ Regularly audit your media library for large images
  • ✅ Regenerate thumbnails after changing image sizes
  • ✅ Monitor Core Web Vitals in Google Search Console

Recommended Image Sizes for WordPress

Image Type Recommended Size Format
Blog post featured image 800-1200px WebP or JPEG
Hero/banner image 1200-1920px WebP or JPEG
Product images 800-1200px WebP or JPEG
Thumbnails 200-400px WebP or JPEG
Logo 200-400px PNG or SVG
Background images 1200-1920px WebP or JPEG

How to Clean Up Your WordPress Media Library

If you already have a WordPress site with years of images, here's how to clean it up:

Step 1: Identify Large Images

Use plugins like Media Library Assistant or Smush to identify the largest images in your media library.

Step 2: Download and Compress

Download the largest images, compress them using JPG Small, and re-upload them.

Step 3: Regenerate Thumbnails

After optimizing images, regenerate thumbnails using the Regenerate Thumbnails plugin.

Step 4: Use a Bulk Optimization Plugin

Plugins like Smush or Imagify can bulk compress all existing images in your media library.

Common WordPress Image Mistakes

  • Uploading full-resolution photos — Always compress first
  • Not using WebP — WebP dramatically reduces file sizes
  • No lazy loading — Makes initial page load much slower
  • Ignoring alt text — Bad for SEO and accessibility
  • Using PNG for photos — JPEG or WebP is much better
  • Not using a CDN — CDN improves delivery speed
  • Not cleaning up the media library — Old images slow down backups

Measuring Your Results

After optimizing your WordPress images, measure your improvement:

  • Google PageSpeed Insights: Look for improvement in LCP score
  • GTmetrix: Check the "Images" section for file sizes
  • Google Search Console: Monitor Core Web Vitals report
  • Media library: Check total size reduction

Conclusion

Reducing image sizes for WordPress websites is one of the most impactful improvements you can make. By following this guide and using JPG Small to compress your images, you'll significantly improve page speed, Core Web Vitals, and SEO rankings.

Start optimizing your WordPress images today!

🚀 Optimize Your WordPress Images for Free

Try JPG Small Now