WebLoop

Standalone Navigation Bar with Section Tracking

Media Optimizer

Lightweight WordPress plugin that automatically compresses images in your media library using TinyPNG API. Reduce file sizes, improve page speed, and optimize your website performance instantly.

🖼️ Download Media Optimizer

✓ Auto Image Compression • ✓ TinyPNG Integration • ✓ Lossless Quality

Version: 1.0.0 • Updated: December 2025

Auto Compress

Faster Loading

Easy Setup

Secure API

Automatically Compress Images for Better Performance

Media Optimizer

Media Optimizer is a lightweight WordPress plugin that automatically compresses all images uploaded to your media library using the TinyPNG API. Reduce image file sizes without losing quality, improve page load times, and boost your website’s performance effortlessly. Perfect for photographers, content creators, and site owners who want optimal image compression.

Key Features

This comprehensive image optimization solution includes:

Automatic Compression

Images compress automatically when uploaded. No manual steps required. Works with JPEG and PNG formats. Compression happens instantly during upload process.

All Image Sizes

Compress full-size images and all WordPress-generated sizes. Thumbnail, medium, large, and custom sizes all optimized. Complete compression coverage for every image variant.

TinyPNG Integration

Industry-leading image compression service. Advanced compression algorithm used by millions. Simply enter your API key and automatic compression begins immediately.

Easy Configuration

Simple settings page to configure TinyPNG API key. One-click enable/disable compression. No coding knowledge required. Perfect for non-technical users.

Performance Boost

Significantly reduce image file sizes. Faster page loads for all visitors. Better performance metrics and Core Web Vitals scores. Measurable site speed improvement.

Lossless Compression

Compress images while maintaining visual quality. No visible quality loss with lossless compression. Images look identical but file sizes dramatically smaller.

Error Handling

Comprehensive error detection and reporting. Detailed logging for troubleshooting. Clear error messages for common issues. Easy debugging when problems occur.

Metadata Preservation

Image metadata updated automatically. File sizes reflected correctly in media library. Attachment information stays accurate. All compression details logged.

Full Compatibility

Works with all WordPress themes and plugins. Compatible with all WordPress versions. No conflicts with other plugins. Tested extensively for reliability.

Why Choose Media Optimizer?

  • Automatic Compression: Images compress automatically on upload, no manual work needed
  • Massive File Reduction: Reduce image sizes by 50-80% without quality loss
  • Faster Page Loads: Smaller images mean faster loading times for all visitors
  • Trusted Service: TinyPNG used by millions of websites worldwide
  • Easy Setup: No coding knowledge required, simple configuration
  • Always Free: Free plan includes 500 compressions per month
  • Better SEO: Faster page speed improves search engine rankings
  • Mobile Friendly: Especially helpful for mobile visitors on slow connections
  • Zero Maintenance: Set and forget, works automatically forever

Installation & Setup

  1. Download the Plugin:
    • Click the “Download Plugin (ZIP)” button above
    • Save the media-optimizer.zip file to your computer
  2. Upload to WordPress:
    • Go to your WordPress admin dashboard
    • Navigate to Plugins → Add New → Upload Plugin
    • Select the media-optimizer.zip file
    • Click “Install Now”
  3. Get TinyPNG API Key:
    • Visit tinypng.com/developers and sign up (free)
    • Get your free API key immediately
    • Includes 500 free compressions per month
    • Upgrade for unlimited compressions anytime
  4. Activate & Configure:
    • After installation, click “Activate Plugin”
    • Go to Media → Image Compressor settings
    • Enter your TinyPNG API key
    • Check “Enable Compression” and save
    • All future uploads automatically compress

How It Improves Your Website

  • Faster Loading: Smaller images load quicker for all visitors
  • Better User Experience: Faster pages reduce bounce rates and improve engagement
  • Improved SEO: Page speed is a ranking factor for search engines
  • Lower Bandwidth: Reduced image sizes save hosting bandwidth
  • Mobile Optimization: Critical for mobile users on slower connections
  • Core Web Vitals: Improved Largest Contentful Paint (LCP) scores
  • Cost Savings: Less bandwidth usage means lower hosting bills
  • Better Performance Scores: Higher PageSpeed Insights scores

Feature Details

Automatic Image Compression on Upload

When you upload images to your media library, they’re automatically sent to TinyPNG for compression. The compressed version replaces the original, and all WordPress-generated sizes (thumbnail, medium, large) are also compressed. This happens instantly during the upload process with no additional steps required.

TinyPNG API Integration

TinyPNG is one of the most trusted image compression services in the world, used by millions of websites. It uses advanced compression algorithms that reduce file sizes dramatically while maintaining visual quality. Simply get a free API key and the plugin handles everything automatically.

Lossless Quality Preservation

Compression is lossless, meaning images look identical to the original but with significantly smaller file sizes. The quality remains visually perfect while reducing file sizes by 50-80%. Perfect for photographers and content creators who need high-quality images.

Simple Settings Dashboard

Configure the plugin through an easy settings page accessible from Media → Image Compressor. Enter your TinyPNG API key, enable compression, and you’re done. All settings are intuitive and require no technical knowledge.

Comprehensive Error Handling

The plugin includes detailed error handling and logging. If something goes wrong, you’ll see clear error messages. Errors are logged to WordPress debug log for easy troubleshooting. Common issues like invalid API keys or API limits are clearly reported.

Trusted by Content Creators & Site Owners

“Amazing plugin! My images compress automatically and my site is noticeably faster. Easy to set up with just an API key. Highly recommend for anyone with lots of images!”
– Jennifer P., Photography Blogger
“Great for reducing page load time. Images look just as good but files are way smaller. My Google PageSpeed score improved significantly. Love it!”
– Robert M., Web Designer
“Perfect for e-commerce sites! Reduced my product images by 60% without any quality loss. Hosting bills went down and site speed improved. Best free plugin ever!”
– Sarah K., Online Store Owner

Frequently Asked Questions

Is Media Optimizer really free?
Yes! The plugin is free forever. You’ll need a free TinyPNG API key (tinypng.com) which includes 500 free compressions per month. That’s enough for most sites, and you can upgrade anytime if needed.
Will compression reduce image quality?
No, compression is lossless. Images will look identical to the original but with significantly smaller file sizes. TinyPNG uses advanced algorithms to reduce file size without any visible quality loss.
How much can files be compressed?
Typically 50-80% reduction depending on image type and content. JPEG files usually compress more than PNG. Results vary, but all images will be significantly smaller.
Does it work with my existing images?
The plugin compresses images automatically on upload. For existing images, you’d need a bulk compression plugin or to re-upload them. New uploads will be compressed automatically going forward.
What image formats are supported?
JPEG and PNG formats are supported and compressed automatically. Other formats are left unchanged. Most WordPress images are JPEG or PNG anyway.
How do I get a TinyPNG API key?
Visit tinypng.com/developers and sign up with your email. Your free API key is generated immediately. It includes 500 free compressions per month.
What happens when I exceed my free quota?
The plugin will stop compressing and log an error. You can either wait until next month for your free quota to reset, or upgrade to a paid TinyPNG plan for unlimited compressions.
Does it slow down my site?
No, the compression happens in the background during upload. TinyPNG handles the heavy processing on their servers, so your site performance is unaffected.
Is my image data sent to TinyPNG?
Yes, images are sent to TinyPNG’s servers for compression, then returned and stored on your server. TinyPNG has a privacy policy and doesn’t keep your images. It’s a secure HTTPS connection.