=== Automatic Image Optimizer & CDN by wpimg.io ===
Contributors: wpimgio
Tags: image optimization, compress images, webp, avif, cdn
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Instantly speed up your site with automated image optimization, WebP/AVIF, and global CDN. Zero setup required.

== Description ==

Activate the plugin, and your images are optimized. That's it.

Your images become significantly smaller without visible quality loss — meaning faster page loads for visitors.

No batch processing. No settings to configure. No waiting. Your existing images are optimized on-the-fly and delivered through Cloudflare's global CDN (300+ locations worldwide).

= Why wpimg.io? =

* **Zero configuration** — Works immediately with existing images
* **Non-destructive** — Original images are never touched
* **Automatic format selection** — AVIF, WebP, or original based on browser support
* **Global CDN** — Fast delivery via Cloudflare edge network
* **Compatible** — Works with most themes and page builders

= How It Works =

1. Activate and accept Terms of Service
2. Done — every image on your site is now optimized

Images are fetched from your server, optimized, and cached globally. Disable the plugin anytime and everything reverts instantly.

= Supported Formats =

Optimizes JPEG, PNG, WebP, and GIF images. Converts to AVIF or WebP for browsers that support them. GIF animations are preserved.

= Free vs Pro =

**Free:** 2,500 optimizations — enough for most sites.

**Pro:** Unlimited optimizations. [Upgrade at wpimg.io/pricing](https://wpimg.io/pricing).

= External Service Notice =

This plugin connects to the wpimg.io image optimization service. The service is powered by Cloudflare's global CDN infrastructure.

**When you activate this plugin:**

* Your site domain is registered with our service
* Image requests are routed through our Cloudflare CDN
* Original images are fetched from your server, optimized, and cached
* Aggregated optimization statistics are collected (image counts, bytes saved)
* Subscription status is checked periodically to ensure service availability

**No personal data is collected.** Only your site domain and optimization statistics are stored.

* Service: [wpimg.io](https://wpimg.io)
* Terms of Service: [wpimg.io/terms](https://wpimg.io/terms)
* Privacy Policy: [wpimg.io/privacy](https://wpimg.io/privacy)
* Support: support@wpimg.io

== Installation ==

1. Go to Plugins > Add New in your WordPress dashboard
2. Search for "Automatic Image Optimizer & CDN by wpimg.io"
3. Click Install Now, then Activate
4. Go to Settings > Image Optimizer
5. Accept the Terms of Service and click "Enable"

Done — your images are now optimized automatically.

= Requirements =

* WordPress 5.0 or higher
* PHP 7.1 or higher
* Images must be publicly accessible

== Frequently Asked Questions ==

= Are my original images modified? =

No. Your original images are never touched. Optimization happens on-the-fly when images are requested. Disable the plugin and everything reverts instantly.

= Do I need to re-upload my images? =

No. The plugin works with your existing images automatically.

= Will this slow down my site? =

Smaller images load faster. The CDN also helps visitors far from your server load images quicker.

= What happens if the service is unavailable? =

The plugin includes automatic fallback. If our CDN is unavailable, images will be served directly from your origin server.

= Does it work with page builders? =

The plugin rewrites image URLs in the final HTML output, so it works with most page builders regardless of how they generate images. If you encounter issues, contact support.

= Why don't I see optimized images when logged in? =

Image optimization is disabled for logged-in administrators to ensure the admin area and page builders work correctly. Log out or use an incognito window to see optimized images.

= What about GIF animations? =

Animated GIFs are preserved. They can be converted to WebP (which supports animation) but not AVIF (which doesn't support animation in all browsers).

== Screenshots ==

1. One-click activation - just accept terms and enable
2. Dashboard showing optimization statistics

== Changelog ==

= 1.0.0 =
* Initial release
* Automatic image URL rewriting to CDN
* Optimizes JPG, PNG, WebP, and GIF; converts to AVIF/WebP based on browser support
* Non-destructive optimization (original images never modified)
* Global CDN delivery via Cloudflare

== Upgrade Notice ==

= 1.0.0 =
Initial release.
