Description
Pixellize Image Optimizer is a fast, lightweight, and beginner-friendly WordPress plugin that automatically converts uploaded images into modern WebP format.
It ensures that your website loads faster by replacing original image URLs across your entire site — including post content, image tags, and responsive srcset.
⚡ No manual conversion. No complex setup. Just upload and optimize.
🔥 Key Features
✅ Automatic WebP conversion on image upload
✅ Supports JPG, JPEG, PNG, BMP, and AVIF
✅ Skips images already in WebP format
✅ Smart fallback to Imagick if GD is unavailable
✅ Adjustable WebP quality (0–100, default: 85)
✅ Replace image URLs in:
- Attachment tags
- srcset (responsive images)
- Post/page content
✅ Saves storage by deleting original images after successful conversion
✅ Keeps original file safe if conversion fails
✅ Prevents duplicate conversions
✅ Activation blocked if no supported library (GD/Imagick) is found
🚀 Why Use This Plugin?
- Improve Core Web Vitals (LCP, CLS)
- Boost SEO rankings
- Reduce page load time
- Save server storage
- Deliver modern image formats automatically
Requirements
- PHP 7.4 or higher
- PHP GD extension (recommended) or Imagick
Usage
- Upload images normally via Media Library
- Images are automatically converted to WebP
- Customize settings under Tools Pixellize Image Optimizer
- Already converted images are skipped automatically
Roadmap
- Bulk conversion for existing media
- Option to keep original images
- Lazy loading integration
- CDN compatibility improvements
License
This plugin is licensed under GPL v2 or later.
Author
Pixellize
🌐 https://pixellize.io
Installation
- Download the plugin ZIP file
- Go to Plugins Add New Upload Plugin
- Upload and click Install Now
- Activate the plugin
- Configure settings under Tools Pixellize Image Optimizer
FAQ
-
What image formats are supported?
-
JPG, JPEG, PNG, BMP, and AVIF. GIF is not supported.
-
Does it convert existing images?
-
No, currently only new uploads are converted. Bulk conversion will be added in future updates.
-
Is the original image deleted?
-
Yes, but only after successful conversion. If conversion fails, the original file remains safe.
-
What if my server doesn’t support GD?
-
The plugin automatically uses Imagick as a fallback. If neither is available, activation will be blocked with an admin notice.
-
Can I control image quality?
-
Yes, you can set quality from 0 to 100. Default is 85.
-
What happens if I upload a WebP image?
-
It is skipped — no processing is done.
Avis
Contributeurs/contributrices & développeurs/développeuses
« Pixellize Image Optimizer » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Pixellize Image Optimizer » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
0.3
- Tested with WordPress 7
- WordPress Coding Standards compliance: documented intentional uses of fopen create-exclusive (atomic WebP filename reservation) and direct $wpdb counter updates (atomic stats increments)
- error_log fallback for anonymous upload failures now gated behind WP_DEBUG
- Suppressed nonce-verification warning on the post-redirect stats_reset display flag (nonce is checked at the action handler before the redirect)
0.2
- Admin notice on conversion failure with the filename, MIME type, and a specific reason (e.g. corrupt source, missing AVIF support, Imagick exception)
- Per-user failure log (last 10 events) shown on next admin page load, then cleared automatically
- Unique WebP filenames when a same-name image already exists in the upload folder, so re-uploads no longer overwrite or alias the previous attachment
- Statistics panel on the settings page showing total images converted, original total size, WebP total size, and bytes saved with a percentage
- Reset Statistics button to clear the saved totals
- Clean uninstall: removes all plugin options and per-user data when the plugin is deleted
- Failure notices now only show on media-related screens, not on every admin page
- Per-request cache for filesystem checks in the WebP URL filters to reduce stat calls on image-heavy pages
- Atomic SQL increments for stats: concurrent uploads no longer drop counts (split the serialized stats array into three numeric options, migrated automatically)
- Atomic WebP filename reservation with create-exclusive open and random-suffix retry, so two concurrent uploads of the same name cannot overwrite each other
- PHP error log fallback when an upload fails outside of a logged-in user context, so failures from front-end forms or unauthenticated REST calls are no longer silently dropped
- Failure notices now gate on login state rather than the upload_files capability, so any role with stored failures still sees its own notices
0.1
- Initial release
- Auto WebP conversion (JPG, PNG, BMP, AVIF)
- GD with Imagick fallback
- Quality control option
- Format selection settings
- URL replacement across site
- Activation check for required libraries
