Sharraxaad
Clevers Image Optimizer optimizes local WordPress images and generates modern formats (.webp and optional .avif).
Since version 0.3.0, processing runs in the background with queueing and batch/time limits to avoid admin timeouts during large uploads.
Features
- Local optimization of original JPG/PNG files.
- WebP generation.
- Optional AVIF generation.
.htaccessrules for transparent delivery.- Media Library bulk action to queue optimization jobs.
- Background processing with configurable limits.
Composer/Vendor policy
This plugin uses Composer as the source of truth for dependencies.
- Development/CI: install dependencies with
composer install. - Release: the published ZIP includes
vendor/for WordPress environments without Composer.
Rakibaad
- Upload the plugin to
/wp-content/plugins/clevers-image-optimizeror install it from the release ZIP. - Activate it in WordPress.
- Go to
Settings > Clevers Image Optimizer. - Configure WebP/AVIF quality and background processing limits.
SBI
-
How does background processing work?
-
New images and bulk actions are queued. A scheduled event processes the queue in batches (
Batch size) and respects a maximum runtime (Time limit per run). -
What if AVIF is not supported on my server?
-
The plugin shows capability status in settings. If
imageavifis not available, AVIF files are not generated. -
Do I need Composer in production?
-
No, if you use the official release ZIP. Composer is only needed for local development and CI.
Dibu-eegisyo
Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.
Ka-qaybgalayaasha & Horumariyayaasha
“Clevers Image Optimizer” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.
Ka-qaybgalayaashaKu tarjun “Clevers Image Optimizer” luqaddaada.
Ma xiisaynaysaa horumarinta?
Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.
Isbeddellada
1.0.2
- Compliance: Remove “Tested up to” from main PHP file (declared in readme.txt only).
- Scripts: Properly enqueue Media Library script with wp_enqueue_script() instead of inline script tags.
- Prefixing: Update all functions, classes, options, hooks and constants to use unique prefix clevers_io_ (4+ characters).
- Dependencies: Upgrade spatie/image-optimizer to latest version 1.10.0.
- Activation: Remove wp_die() blocker on activation, moving requirement check to admin notices.
1.0.1
- Tested up to WordPress 7.1.
- Code standards and plugin review preparations.
0.3.0
- Added: background optimization queue with batch/time limits.
- Added: Media Library bulk action now queues jobs (non-blocking admin request).
- Added: PHPUnit unit tests.
- Added: CI workflow (lint + tests).
- Changed: minimum requirements and admin sanitization/escaping hardening.
- Changed: plugin bootstrap initialization.