=== Focalio ===
Contributors: bigfatinternet
Tags: images, image optimization, webp, lazy loading, focal point
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.3
Stable tag: 1.0.33
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

On-demand image cropping, focal-point picker, LQIP and WebP/AVIF for WordPress uploads. Powered by League Glide.

== Description ==

Focalio serves cropped, format-converted image variants on demand via signed URLs — no more pre-generated intermediate sizes filling up your uploads directory. Editors pick a focal point per image so crops always keep the subject in frame.

Features:

* On-demand image cropping via signed URLs
* WebP or AVIF output for all uploads
* Focal-point picker in the media library and the block editor
* Non-destructive rotate and flip, applied to every rendition
* LQIP (Low Quality Image Placeholder) support
* Settings for image quality, output format and maximum width
* Presets, as many as you need: edited on the settings page, each with its own quality and LQIP, or registered in code with glide_register_preset()
* Attention / entropy / center crop fallback for images without a manual focal point
* Cached images are served before the rest of WordPress loads
* Optional: skip writing intermediate image sizes to disk on upload
* Turn off the WordPress image sizes your site does not use
* Weekly cache cleanup, a button to clear the image cache, and WP-CLI commands for the cache and the crop fallback

Focalio Pro is a separate add-on, not included in this plugin, which adds:

* AVIF with a WebP fallback in a picture element
* Focal-point zoom
* Straighten ruler — level a tilted photo by up to 45°
* A live crop preview, and a hand-made crop per ratio where the focal point is not enough
* A watermark

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/focalio/`, or install via the WordPress plugin repository.
2. Activate the plugin through the Plugins menu in WordPress.
3. Configure via Settings → Focalio.

== External services ==

Focalio includes the Freemius SDK (https://freemius.com), which handles the opt-in to share usage data and the licences of the Focalio Pro add-on. Nothing is sent to Freemius unless you opt in; images are always processed on your own server.

What is sent, and when:

* When you opt in (on the screen shown after activation): your WordPress user's first and last name and email address; the site's homepage URL and title, WordPress and PHP versions and site language; the Focalio and SDK versions, and whether Focalio is active. The list of plugins and themes (names, slugs, versions, active or not) only when you leave that option on.
* After opting in: changes to that information, and when Focalio is activated, deactivated or uninstalled. If you fill in the optional form on deactivation, the reason you give.
* You can opt out at any time with the "Opt Out" link under Focalio on the Plugins screen. Focalio works the same either way.

Freemius terms of service: https://freemius.com/terms/
Freemius privacy policy: https://freemius.com/privacy/

== Changelog ==

= 1.0.33 =
* First release on WordPress.org.
