WordPress.org

Plugin Directory

LessFlux Image & Video Optimizer – WebP, AVIF, CDN & Lazy Load

LessFlux Image & Video Optimizer – WebP, AVIF, CDN & Lazy Load

Description

LessFlux is an external image and video optimization plugin for WordPress that helps reduce media file sizes, improve delivery performance, and offload optimization workloads from your hosting environment.

Unlike traditional optimization plugins that process files directly on your server, LessFlux performs all optimization tasks externally. Images and videos are compressed, converted, and delivered through LessFlux infrastructure, helping reduce CPU usage, memory consumption, and long-running optimization jobs on your WordPress installation.

Whether you’re running a personal website, WooCommerce store, agency portfolio, membership site, or content-heavy publication, LessFlux helps streamline media optimization while keeping your WordPress environment lightweight.

How LessFlux Works

  1. Connect your WordPress site using a Website API Key from your LessFlux account.
  2. Upload images or videos as usual.
  3. LessFlux processes media externally and delivers optimized assets through the CDN.
  4. Existing media can be optimized in bulk using background processing.
  5. Bulk optimization jobs continue running even if you close your browser or leave the page.

Key Features

  • External image and video optimization
  • No CPU or memory usage on your WordPress server during processing
  • Background bulk optimization
  • Automatic optimization on upload
  • JPEG and PNG conversion to WebP and AVIF
  • AVIF recompression support
  • Video optimization support
  • Global CDN delivery
  • Custom CDN CNAME support
  • Lazy loading support
  • EXIF metadata preservation
  • Flexible file replacement options
  • Support for WordPress-generated image sizes
  • Bulk optimization for existing media
  • Website API-based authentication
  • Activity logs and optimization monitoring

Image Optimization

LessFlux supports optimization for:

  • JPEG
  • PNG
  • GIF
  • WebP
  • AVIF
  • SVG

Image optimization features include:

  • Automatic optimization on upload
  • Lossy compression
  • WebP conversion
  • AVIF conversion
  • Lazy loading
  • Inline aspect-ratio placeholders for improved layout stability
  • EXIF metadata preservation
  • Selectable image formats
  • Ignored image size rules
  • Optional image cropping on upload
  • Original file preservation or replacement

Video Optimization

Optimize videos directly from WordPress using LessFlux.

Supported formats include:

  • MP4
  • QuickTime
  • AVI
  • WebM

Video optimization features include:

  • Automatic video optimization on upload
  • Adjustable optimization presets
  • Bulk processing support
  • Replace or preserve original videos

CDN Delivery

LessFlux includes CDN integration for faster asset delivery.

  • Global asset delivery
  • Image delivery through CDN
  • Video delivery through CDN
  • CSS delivery through CDN
  • JavaScript delivery through CDN
  • Dedicated CDN URL
  • Custom CNAME support
  • Cache purge controls
  • CDN usage visibility within WordPress

External Processing (No Server Load)

One of the main advantages of LessFlux is that optimization workloads do not run on your WordPress server.

All image and video processing takes place externally, helping avoid:

  • CPU spikes
  • Memory exhaustion
  • PHP execution time limits
  • Long-running optimization tasks
  • Resource contention on shared hosting environments

This approach is especially useful for large media libraries, WooCommerce stores, agency websites, and websites hosted on resource-constrained environments.

Compatibility

LessFlux is designed to work alongside standard WordPress media workflows.

Compatible with:

  • WordPress Media Library
  • WordPress-generated image sizes
  • Most WordPress themes
  • Gutenberg
  • Elementor
  • WPBakery
  • Beaver Builder
  • Bricks Builder
  • Divi Builder
  • Oxygen Builder
  • Breakdance
  • Most caching and performance plugins
  • Many other WordPress themes, page builders, and media management plugins

LessFlux does not require template modifications and does not alter how WordPress selects image sizes for frontend delivery.

Who Should Use LessFlux?

  • WordPress website owners
  • Agencies managing multiple websites
  • Developers building performance-focused websites
  • WooCommerce stores
  • Content publishers
  • Membership websites
  • Media-heavy projects

If you want image and video optimization without placing additional load on your hosting environment, LessFlux provides a simple external-first workflow directly inside WordPress.

External services

This plugin uses external services provided by LessFlux and third-party CDNs for library delivery.

  1. LessFlux API

* Service: https://api.lessflux.com/v1/
* Purpose: account validation, optimization-related operations, dashboard/plugin data exchange.
* Data sent: plugin requests include site/plugin context and authentication data (such as your LessFlux API token) needed to authorize and process requests.
* Terms: https://lessflux.com/terms-conditions/
* Privacy policy: https://lessflux.com/privacy-policy/

  1. LessFlux WordPress endpoint

* Service: https://lessflux.com/wp-json/
* Purpose: plugin integration endpoints used by LessFlux WordPress workflows.
* Data sent: request metadata required to complete plugin-related actions.

  1. Third-party frontend assets

* https://fonts.googleapis.com/ (font stylesheet, admin UI only)

  1. Bundled third-party libraries (MIT licensed, included locally)

* lazysizes v5.3.2 – https://github.com/aFarkas/lazysizes (lazy loading)
* lottie-web v5.10.2 – https://github.com/airbnb/lottie-web (animations, admin UI only)
* DataTables v2.3.1 – https://datatables.net (data tables, admin UI only)
* DataTables Responsive v3.0.4 – https://datatables.net/extensions/responsive (admin UI only)

Screenshots

Installation

  1. In WordPress admin, go to Plugins > Add New > Upload Plugin.
  2. Upload the plugin ZIP and click Install Now.
  3. Click Activate Plugin.
  4. Open the LessFlux menu in wp-admin.
  5. Go to your LessFlux dashboard at https://app.lessflux.com.
  6. In Dashboard > Instances, add your website and copy its Website API Key.
  7. Back in WordPress, open LessFlux > Account, paste the key, and connect.
  8. Configure image/video/CDN settings as needed in the plugin pages.

FAQ

Do I need a LessFlux account?

Yes. A LessFlux account is required to connect the plugin and use optimization services.

Where can I find my Website API Key?

Log in to your LessFlux dashboard, navigate to Instances, create or select your website, and copy the generated Website API Key.

Does LessFlux optimize images on my server?

No. All image and video optimization is performed externally through LessFlux infrastructure.

Why use LessFlux instead of a server-based optimization plugin?

Unlike traditional optimization plugins that process media directly on your hosting environment, LessFlux performs optimization externally. This reduces CPU usage, memory consumption, and the risk of timeouts while allowing optimization tasks to continue in the background.

Do I need to keep the browser open during bulk optimization?

No. Bulk optimization runs in the background and continues even if you close the browser tab.

What happens if I close my browser during bulk optimization?

Nothing. Bulk optimization jobs continue running in the background, allowing you to leave the page or close your browser without interrupting the process.

Does LessFlux work with WooCommerce?

Yes. LessFlux is particularly useful for WooCommerce stores because product catalogs often contain large numbers of images. By processing images externally and running bulk optimization in the background, LessFlux helps optimize media libraries without placing additional load on your hosting environment.

Can LessFlux optimize existing Media Library images?

Yes. LessFlux includes bulk optimization tools that allow you to process existing images and videos already stored in your WordPress Media Library.

Can LessFlux convert images to WebP?

Yes. JPEG and PNG files can be converted to WebP.

Can LessFlux convert images to AVIF?

Yes. JPEG and PNG files can be converted to AVIF. Existing AVIF images can also be optimized.

Which image formats are supported?

JPEG, PNG, GIF, WebP, AVIF, and SVG.

Which video formats are supported?

MP4, QuickTime, AVI, and WebM.

Can I use my own CDN domain?

Yes. LessFlux supports custom CNAME configuration.

Can I preserve EXIF metadata?

Yes. EXIF preservation can be enabled from the plugin settings.

Can I keep the original files?

Yes. You can choose whether to preserve, duplicate, or replace original media files.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LessFlux Image & Video Optimizer – WebP, AVIF, CDN & Lazy Load” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • Updated plugin description and documentation.

1.0.1

  • Minor user interface update.

1.0.0

  • Initial public release.