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 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
-
Download the Plugin:
- Click the “Download Plugin (ZIP)” button above
- Save the media-optimizer.zip file to your computer
-
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”
-
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
-
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.