WebPressor – WebP & AVIF Image Converter, Optimizer & Compressor
WebPressor is the fastest and most powerful WordPress image optimizer plugin for converting your existing JPEG and PNG media to next-generation WebP and AVIF formats — the two formats recommended by Google for achieving perfect Core Web Vitals and PageSpeed Insights scores.
WebP images are typically 25–35% smaller than JPEG at the same quality. AVIF goes even further — delivering files up to 50% smaller than JPEG and 20% smaller than WebP. By serving these formats automatically to supported browsers, your site loads dramatically faster with zero manual effort.
Version 2.0.0 is a major release introducing AVIF support, a redesigned dashboard, live optimization logs, server-level rewrite rules, system diagnostics, and much more.
🚀 Why Image Optimization Matters
Google’s Core Web Vitals (LCP, FID, CLS) are directly impacted by image delivery performance. Large, unoptimized images are the #1 cause of slow page loads and poor PageSpeed Insights scores. WebPressor solves this automatically by:
- Replacing heavy JPEG/PNG files with lightweight next-gen formats
- Serving the smallest possible format each browser supports
- Reducing total page weight by up to 50% with zero quality loss
- Helping your site pass Google’s “Serve images in next-gen formats” audit
✨ Core Features
🔹 WebP Conversion — Automatically convert all JPEG and PNG images to WebP format with GD library
🔹 AVIF Conversion (New in 2.0) — Generate AVIF images for the smallest possible file sizes (PHP 8.1+ with GD AVIF support required)
🔹 Bulk Optimizer — Process your entire Media Library in batches with a real-time live console log
🔹 Auto-Convert on Upload — Instantly convert new images as they are added to the Media Library
🔹 Smart Browser Detection — Serve AVIF to AVIF-capable browsers, WebP to WebP browsers, and original images to legacy browsers
🔹 Two Delivery Methods — Choose between HTML URL replacement or server-level .htaccess rewrite rules
🔹 Adjustable Quality Sliders — Independent WebP quality (0–100) and AVIF quality (0–100) controls
🔹 Lossy & Lossless Modes — Select compression mode for each format
🔹 Storage Savings Dashboard — See exactly how many megabytes and what percentage you have saved
🔹 System Status Panel — Checks GD extension, WebP/AVIF availability, folder write permissions, and server type
🔹 Nginx Configuration Helper — Displays a copyable Nginx server block for manual rewrite rule setup
🔹 Non-Destructive — Your original JPEG/PNG images are always preserved and never overwritten
🔹 Compatible With All Themes — Works with Elementor, Divi, Avada, GeneratePress, Astra, Kadence, OceanWP, and more
🔹 WooCommerce Ready — Optimizes product images, gallery thumbnails, and all image sizes automatically
🔹 Multisite Compatible — Works on WordPress Multisite installations
🔹 Translation Ready — Fully localized with .pot file included
📊 Performance Impact
Format Savings vs JPEG Browser Support
WebP 25–35% smaller 97%+ of browsers
AVIF 40–50% smaller 80%+ of modern browsers
🛠️ How It Works
- Install & activate WebPressor from the WordPress dashboard
- Go to the WebPressor → Dashboard in the admin menu
- Click Start Optimization to bulk-convert your existing Media Library
- Watch the live console log as images are processed in real-time
- Monitor your Storage Saved — the dashboard shows total bytes and percentage saved
- New uploads are automatically converted in the background (if enabled in Settings)
⚙️ Delivery Methods
HTML Alteration (Default):
WebPressor replaces image src URLs in page HTML on-the-fly. Safe, requires no server configuration, and works on any shared hosting.
Server Rewrite Rules (.htaccess):
For Apache and LiteSpeed servers, WebPressor writes redirect rules directly into /wp-content/uploads/.htaccess. Requests for .jpg and .png files are transparently redirected to their .webp or .avif equivalents — this also handles background CSS images, slider images, and images loaded via JavaScript.
🔗 Useful Links
🔹 Documentation 🔹 Support Forum 🔹 GitHub Repository
Source Code & Build Instructions
This plugin’s JavaScript/CSS assets are minified for production. The original React source code and build tools are available publicly on GitHub.
Repository: https://github.com/TechbyshOrg/tbs-webpressor.git
How to build:
1. Clone the repo: git clone https://github.com/TechbyshOrg/tbs-webpressor.git
2. Enter the React admin folder: cd react-admin
3. Install dependencies: npm install
4. Build production assets: npm run build
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher (PHP 8.1+ recommended for AVIF support)
- GD library with WebP support enabled
- GD library with AVIF support (optional, for AVIF conversion)
