=== WBN Image Optimizer ===
Contributors: webnest
Tags: image optimization, webp, avif, compress images, media library, unused images, performance
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, convert, resize, and clean WordPress images locally with safe backups and a review-first workflow.

== Description ==

Heavy images are one of the most common reasons WordPress sites feel slow.

Large JPG and PNG files increase page weight, hurt Core Web Vitals, and make the Media Library harder to maintain over time.

WBN Image Optimizer gives you a controlled way to optimize images directly inside WordPress.

You choose the images, format, quality, and dimensions. Original files are backed up before changes are applied, so the workflow stays safe and reversible.

This Lite version is ideal for site owners who want local image optimization, manual bulk control, and safe cleanup tools without relying on external image services.

If you later need commercial licensing, client-ready workflows, advanced reporting, or agency-focused features, you can upgrade to Pro.

== Why Users Install It ==

* Reduce image weight without losing control over quality
* Convert images to WebP or AVIF directly in WordPress
* Keep original files backed up before optimization
* Review unused images before deleting them
* Run optimization locally on your own server

== Key Principles ==

WBN Image Optimizer is built around three practical principles:

* Local Processing - All optimization runs on your server
* Full Control - You decide what to optimize and when
* Safe Workflow - Backups and review steps come first

== Core Features ==

=== Image Optimization ===

* Convert images to WebP
* Convert images to AVIF
* Compress JPG and PNG files
* Adjust quality settings manually
* Resize images by width and height
* Balance file size and visual quality

=== Controlled Workflow ===

* No hidden background processing
* No automatic destructive actions
* Clear separation between selection, settings, processing, and review

=== Backup and Restore ===

* Automatic backup before optimization
* Restore original images at any time
* Non-destructive workflow for safer testing

=== Bulk Processing ===

* Optimize multiple images in one run
* Track progress during processing
* Review results after the batch completes

=== Optimization Results ===

* Before and after comparison
* File size reduction details
* Format conversion visibility
* Processing summary

=== Unused Image Scanner ===

* Detect images that may no longer be in use
* Scan posts, pages, WooCommerce galleries, widgets, and media references
* Review findings before deletion
* Clean the Media Library more safely

=== WooCommerce Compatibility ===

* Works with product images and galleries
* Helps reduce heavy media load in stores
* Useful for image-heavy catalogs

== Lite vs Pro ==

Lite is designed for site owners who want powerful local image optimization with manual control.

It includes:

* Local optimization
* WebP and AVIF conversion
* Manual bulk workflows
* Safe backups
* Unused image scanning and cleanup

Pro is for users who need the business and operational layer around the optimizer.

Typical reasons to upgrade:

* Commercial license-based distribution
* Usage plans and site allocation workflows
* Reports, exports, and audit-oriented features
* Agency and client-focused workflows
* Priority commercial support

== How It Works ==

1. Open the plugin in the WordPress admin area
2. Select images from the Media Library
3. Choose format, quality, and dimensions
4. Run optimization
5. Review the results
6. Keep the optimized version or restore originals later if needed

== What Makes It Different ==

Many image optimization plugins:

- Send files to third-party services
- Change images automatically
- Hide important steps from the user

WBN Image Optimizer:

* Processes images locally
* Keeps backups before changes
* Lets you review the workflow step by step
* Makes cleanup and optimization easier to understand

This gives users a safer and more predictable experience.

== Installation ==

1. Go to Plugins -> Add New
2. Search for WBN Image Optimizer
3. Click Install Now
4. Activate the plugin
5. Open Image Optimizer from the admin menu

== Quick Start ==

1. Go to Image Optimizer -> Optimize
2. Select images
3. Choose settings
4. Run optimization
5. Review the results

== Frequently Asked Questions ==

= Does this plugin use external APIs? =

No. All processing is performed locally on your server.

= Are original images preserved? =

Yes. A backup is created before changes are applied.

= Can I restore images? =

Yes. Original images can be restored at any time.

= Does it support WebP and AVIF? =

Yes. Both formats are supported.

= Can I process multiple images? =

Yes. Bulk processing is supported.

= What does the unused image scanner do? =

It identifies images that may no longer be used so you can review and delete them more safely.

= Will this improve performance? =

Yes. Smaller image sizes can reduce load time and improve Core Web Vitals.

= What is included in Lite vs Pro? =

Lite includes local optimization, backups, manual bulk workflows, and the unused image scanner.

Pro adds the commercial and operational layer for paid customers, including licensing, reporting-oriented workflows, and agency-focused features.

== Screenshots ==

1. Dashboard with optimization overview
2. Optimization interface with format and quality controls
3. Safe workflow and configuration controls
4. Unused image scanner and cleanup interface

== Privacy ==

All processing is performed locally on your server.

No images are sent to external services.

== Changelog ==

= 2.2.0 =
* Improved workflow clarity
* UI refinements
* Documentation updates

= 2.1.0 =
* Added WebP and AVIF support
* Added bulk optimization
* Added backup system

= 1.0.0 =
* Initial release
