ਵੇਰਵਾ
PDEV Image Optimizer helps reduce image size and improve WordPress page load performance by converting JPEG, PNG, GIF, and WebP images locally to modern WebP or AVIF formats.
Optimize new uploads automatically or convert your existing Media Library in restartable batches. Smaller WebP and AVIF files can reduce image transfer size and improve page load performance, especially on image-heavy WordPress sites.
Images never leave your server. There are no image limits, no external optimization service, no account, no subscription, and no PRO version.
Original images remain untouched. WordPress continues using the existing image URLs while supported browsers receive optimized WebP or AVIF files automatically.
Why PDEV Image Optimizer?
- WebP and AVIF support using Imagick or GD.
- Faster image delivery through smaller modern image formats.
- 100% local image optimization – images are not uploaded to an external service.
- Unlimited images – no monthly quota or conversion credits.
- No account or API key required for image conversion.
- No subscription or paid plan.
- No PRO version or feature paywall.
- Original images are never replaced or deleted during optimization.
- Automatic optimization of new uploads and WordPress thumbnails.
- Bulk optimization for an existing Media Library with restartable progress.
- Apache, LiteSpeed, and Nginx support.
- Optional Cloudflare integration.
PDEV Image Optimizer was created as a lightweight alternative to image optimization plugins that depend on cloud dashboards, subscriptions, usage limits, or paid feature unlocks.
The goal is simple: generate modern image formats locally, reduce unnecessary image transfer, serve optimized images correctly, and provide enough diagnostics to understand when server configuration prevents optimization or delivery from working.
What does the plugin do?
PDEV Image Optimizer creates WebP or AVIF copies of images from the WordPress Media Library.
It can:
- Automatically optimize newly uploaded images.
- Convert an existing Media Library in small, restartable batches.
- Process WordPress thumbnail sizes.
- Optionally optimize supported images from the active theme.
- Scan for missing or obsolete thumbnails.
- Regenerate missing or all registered thumbnail sizes.
- Preview and clean obsolete PDEV-generated optimized files.
- Show storage savings and estimated transfer savings.
- Detect conflicting image plugins and rewrite rules.
- Test whether optimized images are actually delivered to visitors.
- Generate ready-to-copy Nginx configuration.
- Integrate optionally with Cloudflare.
- Provide a privacy-safe system report for troubleshooting.
- Run bulk optimization, cleanup, the delivery test, and settings changes from WP-CLI with
wp pdevio.
You only need to choose:
- WebP or AVIF as the output format.
- Which source formats should be converted: JPEG, PNG, GIF, or WebP where applicable.
- Conversion quality.
- Whether new uploads should be optimized automatically.
- Whether supported images from the active theme should also be processed.
Main features
- Local WebP and AVIF image conversion with Imagick or GD.
- Automatic optimization of new WordPress uploads and generated thumbnails.
- Restartable bulk optimization of the existing Media Library.
- Optional optimization of supported images from the active theme.
- Thumbnail scan, missing-thumbnail repair, full regeneration, and obsolete-file cleanup.
- Cleanup that previews count and size before deleting only files whose name and location mark them as PDEV-generated (
image.jpg.pio.webp). - Cleanup modes for obsolete generated files or all PDEV-generated optimized files.
- Adjustable optimization speed, from a conservative shared-hosting profile to a fast profile for a VPS or dedicated server.
- Per-image safety limits that skip unsafe files without stopping the complete optimization job.
- WP-CLI command
wp pdeviofor optimization, targeted conversion, cleanup, status, the live delivery test, and format or speed changes. - Storage usage and estimated transfer savings statistics.
- Apache and LiteSpeed delivery through managed
.htaccessrewrite rules. - Generated Nginx configuration for servers where WordPress cannot modify the web-server configuration directly.
- General image-plugin and rewrite-rule conflict detection.
- Optional Cloudflare Free-compatible cache integration.
- Live HTTP delivery test for WebP and AVIF responses.
- Detailed privacy-safe system report with copy and JSON export.
- Tested encoder support, server requirements, delivery status, and conflict checks, summarised on the main screen and detailed under System status.
- Actionable recovery instructions when a configuration check fails.
- Error history from the last 24 hours, limited to 50 entries.
- No external conversion service, telemetry, tracking, subscription, paywall, or PRO version.
How does image optimization work?
- WordPress stores an image such as
photo.jpgand usually creates thumbnail files such asphoto-768x512.jpg. - PDEV Image Optimizer uses Imagick, or GD as a fallback, to create an optimized file next to each source file.
- The optimized file is stored as a separate WebP or AVIF sidecar, for example
photo.jpg.webp,photo.jpg.avif, orphoto-768x512.jpg.webp. - The original image is not deleted, renamed, or replaced.
- WordPress content continues using the existing URL ending in
.jpg,.png,.gif, or.webp. - When a browser requests the original URL, the web server checks the browser’s
Acceptheader. - If the browser supports the selected modern format and the optimized sidecar exists, the server returns WebP or AVIF instead.
- Browsers without support receive the untouched original image.
This approach keeps existing WordPress URLs, post content, image references, and metadata unchanged.
Image delivery on Apache and LiteSpeed
On Apache and compatible LiteSpeed servers, PDEV Image Optimizer adds a clearly marked PDEV Image Optimizer block to .htaccess inside the uploads directory.
If theme image optimization is enabled, the plugin also manages a marked block inside the active theme directory.
The rules:
- Detect WebP or AVIF browser support.
- Serve the optimized sidecar when available.
- Set the correct MIME type.
- Add
Vary: Acceptso caches know that one URL can return different image formats.
The uploads directory and its .htaccess file must be writable when the plugin needs to add or update these rules.
Image delivery on Nginx
WordPress cannot safely edit Nginx server configuration.
PDEV Image Optimizer therefore generates ready-to-copy map and location blocks in System status.
A server administrator must:
- Add the generated
mapblock to the appropriatehttpcontext. - Add the generated
locationblock to the correctservercontext. - Test the Nginx configuration.
- Reload Nginx.
Conversion and delivery are separate steps. Successfully generated WebP or AVIF files do not guarantee that visitors receive them if the required server rules are missing.
Live image delivery test
The Settings overview includes an optional live delivery test.
When an administrator clicks Test image delivery, PDEV Image Optimizer:
- Creates a temporary one-pixel source image and optimized sidecar inside uploads.
- Requests the original source URL with the appropriate
Acceptheader. - Checks the returned HTTP status and
Content-Type. - Immediately removes both temporary test files.
A successful result confirms that the server is actually returning image/webp or image/avif.
The test runs only when an administrator starts it manually.
Server requirements
PDEV Image Optimizer needs both:
- A working PHP image conversion library.
- Correct web-server configuration for automatic delivery.
Installing the plugin cannot add missing PHP extensions or override restrictions imposed by your hosting provider.
Required for image conversion:
- WordPress 6.4 or newer.
- PHP 8.0 or newer.
- Imagick or GD installed and enabled in PHP.
- The selected image library must support the selected output format.
- WebP support does not automatically mean AVIF support.
- The WordPress uploads directory must be writable by PHP.
- The server must provide enough memory and execution time for the images being processed.
Required for automatic delivery on Apache or LiteSpeed:
- Apache-compatible rewrite support (
mod_rewrite). - MIME support (
mod_mime). - Header support (
mod_headers). .htaccessfiles must be allowed and processed for the uploads directory.- On Apache, this normally requires an appropriate
AllowOverridesetting. - The uploads directory or its existing
.htaccessfile must be writable by PHP when the plugin manages delivery rules. - When theme image optimization is enabled, the active theme directory must meet the same requirements.
Required for delivery on Nginx:
- Access to the Nginx website configuration.
- Permission to add the generated
mapblock to thehttpcontext. - Permission to add the generated
locationblock to the correctservercontext. - Permission to test and reload Nginx after changing the configuration.
If you use managed hosting and do not have access to these settings, ask your hosting provider:
- Whether Imagick or GD supports WebP or AVIF.
- Whether the required Apache modules are enabled.
- Whether
.htaccessoverrides are allowed.
PDEV Image Optimizer cannot bypass server restrictions imposed by the hosting provider.
Hosting resource protection and image limits
Image conversion can require considerably more memory than the compressed source file size suggests.
To reduce timeouts, HTTP 503 responses, PHP crashes, and shared-hosting resource-limit errors, PDEV Image Optimizer applies conservative limits before and during conversion.
Default limits for both Imagick and GD:
- Maximum source file size: 64 MB.
- Maximum width or height: 16,384 pixels.
- Maximum total image size: 25 megapixels.
Additional GD protection:
- GD conversion uses a conservative 256 MB per-request memory budget.
- The estimate includes decoded image pixels, the source file, current PHP memory usage, and a reserved safety margin.
- Your hosting provider or PHP configuration may impose a lower effective limit.
Additional Imagick protection:
- Memory limit: 128 MB.
- Memory-map limit: 256 MB.
- Temporary disk limit: 512 MB.
- Processing time limit: 30 seconds.
- Thread limit: 1 thread.
These values are safety ceilings, not resource reservations.
The server or hosting account may enforce lower limits. Increasing a PHP or plugin limit cannot bypass CPU, RAM, process, disk, or I/O restrictions imposed by the hosting provider.
Safe and restartable bulk optimization
Media Library optimization starts with one WordPress attachment per request and may use two only after several fast batches.
Slow or memory-heavy batches automatically return to one attachment.
Short pauses are added between requests. Temporary HTTP 409, 429, 502, 503, and 504 responses use an increasing retry delay.
Progress is saved after every attachment, so an interrupted optimization job can continue without rescanning the whole Media Library from the beginning.
One WordPress attachment can contain:
- The original image.
- Multiple registered thumbnail sizes.
Processing one attachment can therefore still convert several physical image files.
Thumbnail regeneration always handles one attachment per request and pauses briefly before requesting the next one.
Thumbnail scanning is lighter and uses batches of up to five attachments.
If an image exceeds a safety limit, it is skipped and shown as a failed item with the reason in the conversion log and error list. Optimization continues with the next attachment.
The original image is never removed or modified.
Developers can adjust the safeguards with WordPress filters, but changes should reflect the actual limits of the hosting account.
External services
PDEV Image Optimizer does not use an external service for image conversion.
Cloudflare integration is optional.
When configured, PDEV Image Optimizer sends the configured Zone ID and API token to Cloudflare to manage its own Cache Rule and purge the selected zone.
The compatibility test requests one public Media Library image using different Accept headers and stores only technical response information.
Images are not uploaded to Cloudflare by this plugin.
Cloudflare information: Terms and Privacy Policy.
Support
Support is provided only through the official WordPress.org support forum for PDEV Image Optimizer:
PDEV Image Optimizer support forum
Support is not provided by email, through the author’s website, Ko-fi, social media, private messages, or any other channel.
Please use the WordPress.org forum so questions and solutions remain public and useful to other users.
Before opening a support topic:
- Open Tools > Image Optimizer > System status.
- Review the detected configuration issues.
- Copy the system report or export its JSON file.
- Include the relevant diagnostic information in your forum post.
The support report is designed to omit URLs, credentials, personal data, full server paths, and media content.
ਸਕਰੀਨਸ਼ਾਟ





ਸਥਾਪਤੀਕਰਨ
- Install and activate PDEV Image Optimizer.
- Open Tools > Image Optimizer > Settings.
- Review the Overview section and follow the instruction next to every yellow or red check.
- Choose WebP or AVIF as the output format.
- Select the source image formats you want to convert.
- Choose conversion quality.
- Configure automatic optimization and optional theme image optimization.
- Click Save settings.
- On Nginx, open System status > Nginx configuration, copy the generated configuration blocks to your server configuration, test it, and reload Nginx.
- Click Test image delivery in Overview.
- Confirm that the response is
image/webporimage/avif. - Open Media library and start optimization for existing images.
Do not enable overlapping WebP or AVIF delivery rewrite rules in multiple image optimization plugins.
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
-
Is PDEV Image Optimizer free?
-
Yes.
Every feature is available for free. There is no PRO version, paid feature unlock, image quota, subscription, or limited free plan.
-
Does the plugin upload my images to an external service?
-
No.
Images are converted locally on your WordPress server using Imagick or GD.
PDEV Image Optimizer has no image optimization API, cloud conversion service, telemetry endpoint, or analytics endpoint.
Cloudflare is contacted only when an administrator explicitly configures the optional Cloudflare integration or runs its compatibility test.
-
Are original images deleted or replaced?
-
No.
Original files remain untouched.
PDEV Image Optimizer creates a separate optimized sidecar next to each converted source image. WordPress continues using the original image URL.
-
Does it optimize existing WordPress images?
-
Yes.
The Media library optimization tool processes existing image attachments together with their registered WordPress thumbnail sizes.
Work is divided into small restartable requests.
A failed, oversized, or resource-intensive image is logged and skipped without stopping the remaining optimization job.
-
Does it optimize new uploads automatically?
-
Yes.
Automatic optimization can be enabled for newly uploaded images and the WordPress thumbnails generated from them.
-
Does it support WebP?
-
Yes.
WebP can be generated when the installed Imagick or GD library supports WebP encoding.
-
Does it support AVIF?
-
Yes, when the installed Imagick or GD build supports AVIF encoding.
Many servers support WebP but were compiled without AVIF support.
PDEV Image Optimizer cannot add AVIF support to PHP itself. If AVIF is unavailable, the PHP image library installed by your hosting provider must support it.
-
Why do I see WebP or AVIF files on disk but my website still sends JPEG or PNG?
-
Image conversion and image delivery are separate operations.
If optimized files exist but visitors still receive JPEG or PNG, conversion is working but the required web-server delivery rules are not.
On Apache or LiteSpeed, check:
.htaccess.mod_rewrite.mod_mime.mod_headers.AllowOverride.
On Nginx, install the generated configuration and reload the server.
Also clear page, server, CDN, and browser caches before testing again.
-
Which image library is used?
-
Imagick is preferred when it supports the selected output format.
GD is used as a fallback.
The detailed System status report shows both libraries, their versions, supported image formats, and applicable resource limits.
-
How can I check whether WebP or AVIF is really being delivered?
-
Open Settings > Overview and click Test image delivery.
PDEV Image Optimizer creates temporary local test files, requests the original URL with the selected format in the
Acceptheader, verifies the response, and immediately removes the test files.A successful result confirms an
image/webporimage/avifresponse.The latest result remains visible until conversion or delivery settings change.
You can also verify a real image using your browser developer tools:
- Open the Network panel.
- Select an image request.
- Check the response
Content-Type.
The URL may still end in
.jpgwhile the response type isimage/webporimage/avif. This is expected. -
Why does the image URL still end in .jpg or .png?
-
This is intentional.
PDEV Image Optimizer keeps existing WordPress URLs unchanged.
The web server serves the optimized WebP or AVIF sidecar transparently when the browser supports it.
This avoids replacing URLs stored in WordPress content, metadata, themes, or plugins.
-
Why was an image skipped because of a resource or safety limit?
-
The compressed file size does not indicate how much memory an image requires after decoding.
PDEV Image Optimizer skips sources:
- Larger than 64 MB.
- Wider or taller than 16,384 pixels.
- Larger than 25 megapixels.
GD and Imagick also have separate memory, time, disk, and thread safeguards described in Hosting resource protection and image limits.
A skipped attachment remains unchanged and is listed as an error instead of silently exhausting server resources.
-
What are Thumbnail tools for?
-
Thumbnail tools scan the Media Library for:
- Missing registered WordPress thumbnail files.
- Obsolete files associated with image sizes that are no longer registered.
They can create missing image sizes or fully regenerate thumbnails.
Thumbnail regeneration itself does not create WebP or AVIF files. Run Media Library optimization afterward.
-
Can it optimize images stored in my WordPress theme?
-
Yes.
Enable active theme image optimization in Settings.
The active theme directory must be readable and writable, and the web-server delivery rules must also cover that directory.
Development directories including the following are excluded from scanning:
node_modulesvendor.git.svn
-
Are animated GIF files supported?
-
Animated GIF files are detected and skipped so animation is not replaced with a static image.
A non-animated GIF can be converted when GIF is selected as a source format.
-
Does the plugin use additional disk space?
-
Yes.
Original files are preserved and optimized WebP or AVIF sidecars are stored next to them.
The Storage savings card shows the disk space used by optimized sidecars and estimates the smaller transfer size visitors may receive.
-
Can I remove generated WebP and AVIF files?
-
Yes.
Optimized file cleanup can scan PDEV-generated optimized files before deleting anything.
You can choose to remove:
- Obsolete generated files.
- All PDEV-generated optimized files.
The cleanup previews the number and size of files before deletion.
Only files whose name and location identify them as PDEV-generated are removed, for example
image.jpg.pio.webp. A real source extension must precede.pio., and the file must sit inside the uploads or active theme folder, so a file you happened to namesomething.pio.webpis always left alone. -
What is removed when I uninstall the plugin?
-
Uninstalling removes:
- Plugin options.
- The generated-file registry table.
- The plugin error log.
- Managed
.htaccessdelivery rules.
Generated
.pio.webpand.pio.aviffiles remain on disk by default.To remove them as well:
- Run Optimized file cleanup and choose Scan all generated files before uninstalling, or
- Enable Delete generated files on uninstall in the plugin settings.
On very large sites, uninstall-time deletion is a time-limited best effort and some generated files may remain.
Original images are never removed.
-
Does it work with Cloudflare?
-
Yes.
Local conversion and origin delivery work without a Cloudflare API connection.
Without a confirmed shared-cache rule, PDEV Image Optimizer uses private-cache protection so Cloudflare does not cache the wrong image format for a shared original URL.
The optional Cloudflare integration can:
- Configure a Free-compatible Cache Rule.
- Test image delivery.
- Purge cache.
Automatic Cache Rule creation requires a zone-scoped API token with:
- Cache Settings: Edit
- Cache Purge: Purge
The standard Cloudflare WordPress token preset supports cache purge but does not include Cache Settings: Edit.
Credentials can optionally be defined in
wp-config.php:define( 'PDEV_IMAGE_OPTIMIZER_CLOUDFLARE_ZONE_ID', 'your-zone-id' ); define( 'PDEV_IMAGE_OPTIMIZER_CLOUDFLARE_API_TOKEN', 'your-api-token' ); -
Does the plugin send images or usage statistics anywhere?
-
No.
Images are converted locally.
PDEV Image Optimizer has no telemetry or analytics endpoint.
Cloudflare is contacted only when an administrator explicitly provides credentials or runs the compatibility test.
The Ko-fi page is opened only after the user clicks its link.
-
What is included in the system report?
-
The system report includes:
- WordPress information.
- PHP information.
- Web-server information.
- Imagick status.
- GD status.
- Plugin settings.
- Image delivery status.
- Writable-directory checks.
- Cloudflare status.
- Optimization statistics.
- The latest live delivery test.
- Detected conflicts.
- Thumbnail status.
- Recent plugin errors.
The report excludes:
- Site URLs.
- Credentials.
- Personal data.
- Media content.
- Full server paths.
-
How long are plugin errors stored?
-
Only errors from the last 24 hours are shown and included in the report, with an additional maximum of 50 entries.
Paths, URLs, email addresses, and image names are redacted from the support report.
The log is removed when the plugin is uninstalled.
-
Can I use WP-CLI?
-
Yes. Every bulk operation is available through the
wp pdeviocommand:wp pdevio optimize [--force] [--attachments-only] [--theme-only]– convert the Media Library, plus the active theme images when that option is enabled.--forcere-optimizes every image from the start. This command uses the same lock as the admin screen, so a command-line run and a browser run never process the same images at once.wp pdevio convert <id>... [--force]– convert one or more attachments by ID.wp pdevio cleanup [--all] [--dry-run] [--yes]– preview and delete generated optimized files.--allalso removes current-format files,--dry-runonly reports,--yesskips the confirmation prompt.wp pdevio status– show the output format, encoder, optimization speed, optimized and pending counts, delivery-rule status, and the last delivery test.wp pdevio test-delivery– run the live HTTP delivery test.wp pdevio set [--format=<webp|avif>] [--speed=<conservative|balanced|fast>]– change the output format or optimization speed, exactly like the Settings screen. Run without options to print the current values.
-
Is there a PRO version?
-
No.
Every feature is free and the plugin will remain free.
ਸਮੀਖਿਆਵਾਂ
There are no reviews for this plugin.
ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ
“PDEV Image Optimizer – WebP & AVIF” is open source software. The following people have contributed to this plugin.
ਯੋਗਦਾਨੀ“PDEV Image Optimizer – WebP & AVIF” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।
ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
ਤਬਦੀਲੀ-ਚਿੱਠਾ
1.4.0
- [New] WP-CLI support. Run bulk optimization, targeted conversion, generated-file cleanup, the live delivery test, and format or speed changes from the command line with
wp pdevio(optimize,convert,cleanup,status,test-delivery,set). Theoptimizecommand shares the same lock as the admin screen, so a command-line run and a browser run never process the same images at once. - [New] Optimization speed setting (Conservative, Balanced, Fast) on the Settings screen. Bulk optimization now grows to larger batches with shorter pauses while the server keeps up, and still drops back to one image per request the moment a batch runs long or memory gets tight. Balanced is the new default. Shared hosting that sees timeouts can switch to Conservative; a VPS or dedicated server can use Fast. Filters
pdev_image_optimizer_max_batch_limitandpdev_image_optimizer_min_cooldown_mstune the ceilings further. - [New] “Force optimize all” button on the Media Library screen re-optimizes every image from the start, next to the normal button that resumes where it left off. A “Stop optimization” button pauses a run with its progress saved; the button then reads “Continue optimization”.
- [Changed] The main plugin screen is now a short summary: one line confirming that optimized images are being served, or only the checks that still need attention. The full diagnostic Overview moved to the top of the System status screen. When the live delivery test confirms visitors receive the optimized images, the summary is shown in green and a leftover competing rewrite rule from another plugin is treated as optional cleanup rather than a warning; the note about it now lives on System status.
- [Changed] Removed the database table that tracked generated files. A generated WebP or AVIF file is now identified only by its exact name (
image.jpg.pio.webp) and its location inside the uploads or active theme folder. Cleanup and uninstall never remove a file unless a real source extension precedes.pio.in its name and it sits in a managed folder, so a file you happened to namesomething.pio.webpis always left alone. The old table is dropped automatically on update. New filterpdev_image_optimizer_generated_rootsadds folders to the scan for sites that store media elsewhere. - [Changed] Overwriting a generated file no longer depends on a database record. Any file at the reserved
.pio.webpor.pio.avifpath derived from a real source image is treated as PDEV’s own and refreshed normally.
1.3.2
- [Fixed] AVIF bulk optimization could stop with an “HTTP 409” error on some servers and never recover. A single image whose AVIF encode outruns the server’s memory or time limit was killing the PHP worker before it could report a failure, so the job never advanced past that image and every retry hit it again and left the optimization lock stranded. That image is now detected after the first crash, recorded as a failed image, and skipped so the rest of the library finishes; AVIF batches also process one image at a time, the encoder runs at a bounded speed (filter
pdev_image_optimizer_avif_speed), a batch the web server kills mid-request no longer holds the lock for 90 seconds (kept fresh while running, reclaimed within 45 seconds otherwise), and the optimizer waits out a busy lock or a dropped connection instead of failing immediately. The crash-skip threshold is adjustable throughpdev_image_optimizer_max_attachment_attempts. - [Fixed] Large photos near the megapixel limit could fail with “cache resources exhausted” on Imagick. The Imagick pixel-cache limits are now large enough to process an image up to the safe megapixel cap, including its orientation pass, and stay adjustable through the
pdev_image_optimizer_imagick_resource_limitsfilter. - [New] Filter
pdev_image_optimizer_preferred_driver(gdorimagick) forces which encoder is tried first. The capability probe still runs, so forcing a driver that cannot encode the chosen format falls back to the other one. - [Fixed] After moving a site, migrating its database, or restoring from a backup, every previously generated file reported “a file with PDEV’s reserved optimized-image name already exists and was not created by PDEV” and could not be optimized again. A valid WebP or AVIF sitting at the reserved
.piopath is now treated as an earlier PDEV conversion and re-created normally (the hard refusal is kept only for a file that is not a valid image of the target format), and the ownership table is recreated automatically if a migration left it behind. - [Changed] A competing WebP or AVIF rewrite rule from another plugin – often left in
.htaccessafter that plugin is removed – no longer disables PDEV delivery. PDEV now installs its own rules regardless and shows a warning that names the competing block, says whether the plugin that created it is still active, tells you which# BEGIN/# ENDblock to delete when it is not, and points to the live delivery test. - [Changed] Overview cleanup: removed the “View detailed status” button (it only opened System status, which repeats what Overview already shows); after a competing rewrite rule is detected, the live delivery test result now appears in the conflict block where the test button is, instead of only in the Image delivery row; and once that test passes, the loud competing-rule warning collapses to a short “delivery still works” note, leaving the details one click away.
1.3.1
- [Fixed] The 1.3.0 release package was incomplete: several class files were missing, which caused a fatal error (
Class "PDEV\ImageOptimizer\Rest\CleanupRoute" not found) on sites that installed or updated to 1.3.0. This release ships the complete plugin.
1.3.0
- [Feature] Added registry-backed, preview-first cleanup for obsolete PDEV-generated WebP and AVIF files, with an optional “all generated files” mode that also clears the optimization state so images are regenerated.
- [Feature] Added a “Delete generated files on uninstall” setting; when enabled, the uninstaller removes registered
.pio.webp/.pio.aviffiles (best effort, time-limited) while never touching originals. - [Changed] Generated files now use the unambiguous
.pio.webpand.pio.avifnaming contract; legacy sidecars are no longer served or removed automatically. - [Security] Cleanup accepts no browser-supplied paths and revalidates exact registry ownership immediately before deletion.
- [Fixed] The live delivery test no longer fails on a self-signed or mismatched certificate when the uploads URL is on this site’s own host.
1.2.1
- [Release] First public build.
