=== WBN Image Optimizer – SaaS-Grade Image Optimization ===

Contributors: webnest
Donate link: https://webnest.co.il/

Tags: image optimization, webp, avif, compress images, image scanner
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Optimize images with WebP/AVIF, resize & compress. Unlimited optimizations + unused scanner. All local—zero risk.

== Description ==

<strong>Images are the #1 performance bottleneck on WordPress sites.</strong>

Oversized uploads, unused images in the Media Library, and unoptimized WooCommerce product images slow down pages, hurt Core Web Vitals, and reduce conversions.

<strong>WBN Image Optimizer</strong> is a professional, SaaS-grade image optimization system—not just another compression plugin.

Everything runs on <strong>your own server</strong>:
* No external image processing
* No third-party APIs
* No data collection or tracking
* No privacy or compliance risks

= What You Get =

* <strong>Faster page loads</strong> — 40–60% smaller images
* <strong>Higher PageSpeed scores</strong> — Better Core Web Vitals
* <strong>Better WooCommerce performance</strong> — Optimized product images
* <strong>Lower bandwidth & disk usage</strong> — Save money and space
* <strong>Clean Media Library</strong> — Find and remove unused images

= Core Features =

= Modern Image Optimization =
* WebP and AVIF conversion
* Up to 60–80% file size reduction
* Automatic WordPress fallback for unsupported browsers

= Smart Presets =
* WooCommerce products (1200×1600)
* Banners and hero images
* Galleries and thumbnails
* Manual advanced controls

= Unused Image Scanner (Included Free) =
* Detects images not used anywhere on your site
* Scans posts, pages, WooCommerce, blocks, ACF fields, widgets
* Visual review before deletion
* Safe cleanup without breaking layouts

= Zero-Risk Backup =
* Automatic backup before every optimization or deletion
* One-click restore to the exact original
* Preserves dimensions, quality, format and metadata

= Bulk & Automation =
* Bulk optimization with live progress bar
* Pause / Resume support
* Real-time statistics during processing
* Background scheduling (Pro)

= Lite vs Pro =

= Lite — Free Forever =
* 100 lifetime image optimizations
* Unlimited unused image scanning
* WebP and AVIF support
* Smart presets & automatic backups
* No registration. No license key. Install and go.

= Pro Plans =
* Basic ($79/yr): 150 images/month, auto-optimize on upload, scheduling
* Professional ($129/yr): 500 images/month, advanced scanner, priority support
* Agency ($299/yr): 2,000 images/month, white-label, client reports

Upgrade: https://webnest.co.il/product/wbn-image-optimizer-pro/

== Installation ==

= Automatic =
1. Go to Plugins → Add New
2. Search for WBN Image Optimizer
3. Click Install Now → Activate
4. Open Image Optimizer from the admin menu

= Manual =
1. Download the plugin ZIP
2. Plugins → Add New → Upload Plugin
3. Upload, install, and activate

== Quick Start ==

= Optimize Images =
1. Image Optimizer → Optimize
2. Select images from the Media Library
3. Choose a preset or customize settings
4. Click Optimize — backups are created automatically

= Clean Unused Images =
1. Image Optimizer → Scanner
2. Click Scan for Unused Images
3. Review results with thumbnails
4. Select images → Delete Selected

== Frequently Asked Questions ==

= Is this plugin really free? =

Yes. You get <strong>unlimited optimizations</strong> and <strong>unlimited scanner usage</strong>—forever. No credit card, no registration.

= Does it use an API or external servers? =

No. All optimization and scanning runs locally on your server. Your images never leave your site. The Pro license key is used only to unlock features and updates—never for image processing.

= Are my original images safe? =

Yes. Every action creates an automatic backup before any change. You can restore any image with one click. Nothing is overwritten without a backup.

= Will this break my site? =

No. Nothing is deleted or replaced without backup and your manual confirmation. The scanner shows you exactly what it found before you decide to delete anything.

= Does it improve SEO? =

Yes. Smaller images load faster, which improves Core Web Vitals and search rankings. Google rewards fast sites.

= Does it work with WooCommerce? =

Yes. Includes a WooCommerce-optimized preset (1200×1600) that preserves zoom quality while reducing file size—perfect for product galleries.

= Will optimization slow down visitors? =

No. All processing happens in the admin area only. Visitors experience <strong>faster</strong> page loads because images are smaller.

= What image formats are supported? =

WebP and AVIF for best compression. WordPress automatically provides fallbacks (original JPG/PNG) for older browsers—no configuration needed.

== Advanced Usage ==

= Hooks =
`wbio_lite_before_optimize` — Before optimization runs
`wbio_lite_after_optimize` — After optimization completes
`wbio_lite_before_delete` — Before unused image deletion
`wbio_lite_after_delete` — After deletion completes

= WP-CLI (when available) =
`wp wbio optimize --all`
`wp wbio scan`
`wp wbio restore <id>`

== Privacy & Compliance ==

* No tracking
* No analytics
* No external processing
* Full GDPR compliance

Your images never leave your server.

== Changelog ==

= 2.2.0 – February 15, 2026 =
* Fixed: Removed artificial quota limit per WordPress.org guidelines
* Changed: Unlimited optimizations in Lite version (all processing is local)
* Changed: Plugin display name to "WBN Image Optimizer – SaaS-Grade Image Optimization"
* Fixed: Plugin URI updated to working URL

= 1.0.9 – February 8, 2026 =
* New: Unified design with full-width layout
* Added: Lite badge styling for clearer version identification
* Improved: UI consistency across Dashboard, Optimize, and Scanner pages
* Improved: Responsive layout (max-width 100% for better display)
* Updated: Readme structure and FAQ formatting

= 2.1.8 – January 27, 2026 =
* Fixed: Scanner button color aligned with WordPress admin UI
* Fixed: Gallery layout now displays images in a responsive grid
* Improved: Minimum gallery thumbnail width for better visibility
* Improved: UI spacing and readability
* Fixed: All interface text standardized to English

= 2.1.7 – January 27, 2026 =
* Added: Real-time progress bar with detailed statistics
* Added: Tooltips for Quality, Output Format and Resize Mode
* Improved: Visual feedback during optimization
* Improved: Scanner logic for Gutenberg blocks, ACF fields and widgets
* Fixed: Optimize button behavior
* Fixed: Mixed-language UI issues

= 2.1.5 – January 27, 2026 =
* Fixed: Critical optimization method visibility issue
* Added: Adaptive quality optimization
* Added: Advanced batch processing with retry logic
* Added: Pause / Resume support for bulk actions
* Improved: Backup and restore reliability
* Improved: Error handling and security validation

= 2.1.4 – December 26, 2024 =
* Fixed: Tag cleanup per WordPress.org requirements
* Improved: Readme structure and formatting

= 2.1.3 – December 23, 2024 =
* Fixed: Scanner AJAX handlers
* Fixed: Scanner UI rendering issues
* Improved: Error handling during scan and delete operations

= 2.1.2 – December 23, 2024 =
* Changed: 100 lifetime optimizations instead of monthly quota
* Added: Unused Image Scanner to Lite version
* Improved: Quota management system
* Improved: Upgrade messaging

= 2.1.1 – December 15, 2024 =
* Fixed: PHP syntax errors
* Fixed: AJAX nonce validation
* Improved: Admin dashboard stability

= 2.1.0 – December 10, 2024 =
* Added: WebP and AVIF conversion
* Added: Smart presets
* Added: Automatic backup system
* Added: Bulk optimization support

= 2.0.0 – December 1, 2024 =
* Complete system rewrite
* New SaaS-style architecture
* Improved performance and reliability

= 1.0.0 – November 15, 2024 =
* Initial release

== Credits ==

Developed by WebNest — https://webnest.co.il/

Built with WordPress Media Library APIs, GD / Imagick, and modern PHP standards. Developed in Israel.
