=== Compressify Image Optimizer ===
Contributors: darkfoxdev
Tags: image optimization, image optimizer, compress images, webp, avif, pagespeed, core web vitals, media library, bulk optimization, resize images, jpg, png
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Compress, resize, and convert WordPress images to WebP/AVIF automatically, with bulk optimization for your existing media library.

== Description ==

Compressify Image Optimizer connects WordPress to the Compressify API so new uploads and existing media library images can be compressed, resized, and converted outside your hosting environment while keeping WordPress attachment metadata intact.

It is built for site owners, agencies, and WooCommerce teams that want smaller image payloads, modern WebP or AVIF output, and cleaner PageSpeed/Core Web Vitals performance without manual export workflows.

The plugin can optimize uploads automatically, convert output files to modern formats such as WebP or AVIF, resize oversized originals, and run background passes for older media items already stored in the library.

With Compressify, you can:
* Automatically compress JPG, PNG, and WebP images upon upload.
* Convert legacy images to next-generation formats like WebP or AVIF.
* Resize oversized image uploads before optimization.
* Reduce bandwidth usage with smaller image payloads.
* Improve Core Web Vitals (LCP, CLS) and PageSpeed-related performance metrics.
* Bulk optimize your entire existing media library with a single click.

To use this plugin, you will need a Compressify API key from your account at https://compressify.net.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/compressify-net` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to `Settings > Compressify` in your WordPress dashboard.
4. Enter your API key from the Compressify dashboard.
5. Configure your preferred output formats and compression levels.

== External services ==

This plugin connects to the Compressify API service to optimize images and keep the WordPress site linked with your Compressify workspace.

It sends the following data when you save or rotate the API key and the plugin registers the site with Compressify:
* Site domain
* Site name
* Plugin version
* WordPress version/platform name

It sends the following data during the periodic site heartbeat request:
* Site token
* Plugin version
* WordPress version/platform name

It sends the following data when an upload or background optimization job is processed:
* The image file contents being optimized
* Requested optimization settings such as output format, quality, and resize width when applicable
* Authentication credentials needed to authorize the request

It may also contact the Compressify API to check plugin/API availability for update and status flows.

Service provider: Compressify
Privacy policy: https://compressify.net/privacy
Terms of service: https://compressify.net/terms

== Frequently Asked Questions ==

= Does this require a paid account? =
No, Compressify offers a generous free tier that includes real optimization limits enforced by the API. You can use the free tier forever without a credit card.

= Which image formats are supported? =
Compressify supports optimizing JPG, PNG, and WebP files. It can output optimized versions in JPG, PNG, WebP, or AVIF (depending on your plan).

= Will it break my existing image links? =
No! Compressify safely replaces the underlying files and updates WordPress attachment metadata natively. All your existing posts and pages will continue to work perfectly and will load the newly optimized images.

== Screenshots ==

1. Compressify Settings: Enter your secure API token and choose your target formats.
2. Bulk Optimization: Easily compress thousands of old images in your library.

== Changelog ==

= 1.0.1 =
* Minor fixes and translation improvements.

= 1.0.0 =
* Initial release.
* Added automatic upload interception.
* Added bulk optimization tools.
* Added support for WebP and AVIF conversions.
