Skip to content
Sign in
IndexLane Safe WebP & AVIF Queue icon

IndexLane Safe WebP & AVIF Queue

Smaller WebP and AVIF images, plus optional AI alt text, context checks, and privacy flags.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Smaller images. Smarter media reviews. You stay in control.

Give your WordPress Media Library two useful upgrades: WebP and AVIF conversion to reduce image downloads, and optional AI Media Review to help you write alternative text and spot images that deserve a closer look.

Keep your original images. See the actual savings. Review AI suggestions before applying them. One plugin brings image conversion and a second pair of eyes into your WordPress admin.

Put AI to work on your Media Library

Connect your own OpenAI, Claude, or Grok API key and choose a vision-capable model. Media Review can help you:

  • Draft alternative text: get a concise description proposal instead of starting from a blank field. Focus on images without alt text, or include images that already have it.
  • Catch possible context mismatches: compare an image with its attachment parent page’s title and a short excerpt. Useful for spotting a product photo or illustration that may not fit the surrounding topic.
  • Spot visible privacy concerns: flag readable email addresses, phone numbers, names, account identifiers, credentials, and other sensitive information visible in the image. Handy when reviewing screenshots before sharing them.
  • Identify potentially decorative images: empty alt text requires the decorative-image option to be enabled.
  • Act on clear proposals: compare the original suggestion with current text, edit the draft (up to 500 characters), then apply or dismiss it yourself.

Your judgment stays in the loop. AI findings can be wrong. The plugin does not redact images, identify people, rewrite pages, or automatically publish AI text. Applying a proposal updates the attachment’s alternative text; it does not rewrite alt attributes already saved inside posts or page builders. You can restore the previous value while that review has not been replaced and the applied value is unchanged.

Review Next Unreviewed Images processes up to 10 eligible images per run, one at a time, following the open report’s filters, search, and missing-alt choice. Saved decisions are skipped, including dismissed reviews and intentionally empty decorative text. Stale reviews require explicit re-review.

Re-review Visible Images or Re-review This Image makes new provider requests that may incur charges; successful results replace the current proposal and its restore history. Optional context comes from the attachment’s recorded parent, not every page where an image appears.

Optional, with your own provider account. Media Review starts off. Running it sends a temporary, metadata-stripped preview directly to your chosen provider; provider API charges may apply. Previews are limited to 1600 pixels on the longest edge and 4 MiB. WordPress needs a working image editor to prepare them. Conversion works independently without an AI account or API key.

Media Review compatibility:

  • Constant keys require both ILSWQ_AI_API_KEY and ILSWQ_AI_PROVIDER in wp-config.php. Use openai, anthropic (Claude), or xai (Grok), matching the selected provider.
  • New paid review requests and proposal/alt-text writes require InnoDB for the WordPress options and postmeta tables. The plugin does not migrate tables automatically; ask your database administrator if these checks fail.
  • Older pending proposals without a context snapshot require explicit re-review before applying. Guarded undo remains available for already-applied text while its review has not been replaced and the applied value is unchanged.

Get lighter images without a conversion subscription

Turn your Media Library’s JPEGs, PNGs, thumbnails, and other WordPress image sizes into WebP or AVIF copies. AVIF can produce smaller files than WebP; compare the actual results for your images and quality settings.

  • Convert on your computer: the bundled browser encoder creates WebP and AVIF, even when your host cannot write those formats. No desktop app or browser extension.
  • Let your hosting handle WebP: run selected images, your whole library, or future uploads through resumable background jobs.
  • Use the built-in PHP fallback: on compatible hosts, create WebP without GD, Imagick, or a separate encoder command.
  • See what you saved: inspect file sizes and savings, search and filter the report, or export matching rows as CSV.
  • Choose when to serve the results: enable generated-image output when you are ready, with fallbacks for AVIF.
  • Keep your originals: remove this plugin’s generated copies whenever you need to. Files owned by other tools stay untouched.

Everything needed for conversion is included: no conversion credits, external optimization API, or conversion subscription. Browser conversion keeps the plugin tab open; server jobs can continue through WP-Cron.

The plugin supports PHP 7.4 and newer. The optional built-in PHP encoder requires PHP 8.1+ and zlib and is detected automatically. AVIF conversion runs in the browser; server jobs produce WebP.

Convert in your browser

Enable Convert images in the browser, scan your Media Library, select a few images, and click Convert Selected in Browser.

The bundled encoder uses WebAssembly to run on your computer. There’s no desktop app or browser extension to install. Keep the plugin page open while it processes each file, including existing thumbnails and other WordPress sizes. You’ll see progress and a result for each one.

After interruption, return in the same browser, site and user account to Resume Unfinished Files, Retry Failed Files, or Discard Saved Selection. Completed copies stay saved, even when you discard the selection. Every resumed file gets fresh server preparation under current queue settings; nothing resumes automatically or runs after the tab closes.

Recovery uses localStorage for attachment/run IDs, size keys, format and progress metadata only—not images, URLs, credentials or upload tokens. Browser storage must be available; clearing it loses the saved selection. Use one tab: localStorage cannot guarantee atomic updates across tabs.

Choose WebP or AVIF under Browser conversion format. AVIF can produce smaller files than WebP, and the browser encoder is included either way. Set AVIF quality to taste; 60 is a good starting point. AVIF encoding is slower than WebP, so allow more time for large images.

The panel checks browser support before enabling conversion. You need HTTPS and enough memory on your computer. Browser conversion works with images served from the same origin as your admin; the FAQ explains file limits and restrictions for separately hosted media.

Or let your hosting work in the background

When WordPress has GD or Imagick with WebP support, use Convert Selected or Convert Entire Library. Jobs run in small batches, save progress, and let you pause, resume, cancel pending work, or retry failures.

You can close the browser during a server job. Background progress uses WP-Cron, so it depends on site visits or a configured cron runner. Automatic conversion for future uploads is also available on supported hosts.

The queue panel shows health warnings, the next scheduled attempt, recovery guidance, recent errors, and up to 10 completed or cancelled jobs. Reopen the plugin page to process ready work or check your cron runner; scheduled times are attempts, not completion deadlines. Retry exhausted automatic-upload failures individually or with Retry All Automatic Failures, retaining their saved settings.

Browser conversion remains available if you prefer it. Whole-library background jobs and automatic uploads also work with the optional PHP encoder when it is available and enabled.

Or convert with no image tools at all

If your hosting’s image tools cannot write WebP and you want background conversion, turn on Convert images with the built-in PHP encoder. The bundled picowebp encoder runs on the server without GD, Imagick, or a separate encoder command.

This optional method needs PHP 8.1 or newer and zlib. The plugin checks these requirements automatically and disables its setting on incompatible hosts, including PHP 7.4 and 8.0. It stays off until you enable it on a compatible host, and GD or Imagick remain the preferred method when they can write WebP.

PHP encoding is much slower than the other methods. It is limited to 2 million pixels per source file by default, and the queue processes one attachment per request, including its eligible generated sizes. Your maximum pixel setting can lower that limit. Use browser conversion for larger images or files the bundled readers cannot decode, such as progressive JPEGs on hosts without GD.

Review the results

See original and generated sizes, savings, the conversion method, and reasons for skipped or failed files. Search and filter the report, or export matching rows as CSV. WebP quality for JPEG and PNG sources can be adjusted separately; AVIF has its own quality setting.

Expand Format readiness and repair for separate WebP/AVIF coverage, original/generated byte comparisons for ready pairs, and additional disk space used by owned copies, including stale, invalid or obsolete files. Repair targets eligible missing, stale or invalid copies: WebP on the server, either format in the browser. Current copies, foreign files and unsafe inputs are left alone. Repairs recheck eligibility and use saved queue settings; save changes first.

Local readiness is not a test of actual page delivery. Serving still needs to be enabled and use supported WordPress image-output paths. Source-current copies at an older quality may still be served; AVIF needs matching copies for every candidate in the actual image tag.

By default, a new WebP or AVIF copy is skipped if it’s the same size or larger than its source. Files created by other tools are left alone: an existing output file the plugin doesn’t own is reported as a conflict.

The Media Library shows status and savings too. You can exclude images from conversion and serving, or use Delete Generated Images to remove this plugin’s copies while keeping your originals.

Choose when visitors receive WebP and AVIF

Use generated WebP and AVIF in WordPress image output starts off. Review your conversions, then enable it to use matching copies in normal WordPress image output. Images without a matching copy keep their existing format.

WebP is served by swapping the image URL, because every current browser reads WebP. AVIF is newer, so it is served through a <picture> element with WebP or your original image as the fallback: supported browsers download the smaller AVIF file, while browsers without AVIF support use the fallback. AVIF is offered when every responsive candidate has a matching copy, preserving the original crops and sizes.

The plugin doesn’t rewrite saved posts, attachment URLs, CSS backgrounds, page builder fields, theme files, or hardcoded image markup. It converts JPEG and PNG attachments and their generated sizes.

Smaller copies reduce image downloads when your site serves them. Keeping both formats takes more disk space.

Example savings from four real images

These version 1.0.0 measurements use JPEG and PNG quality 80. Browser conversion, GD, and Imagick ran locally on the same Apple M1 Pro Mac with 32 GB RAM. They do not measure the optional PHP encoder.

The large JPEG and PNG contain the same 3000 x 1348 photo. The small JPEG is a 600 x 270 version of it; the small PNG is a 600 x 400 transparent graphic.

File sizes in KB, with the percentage saved in brackets. The server column covers GD and Imagick, which produced the same sizes in this test.

Image       Original  Browser WebP   Server WebP
----------  --------  -------------  -------------
Large JPEG    1077.5  566.4 (47.4%)  566.4 (47.4%)
Small JPEG      51.4  28.0 (45.5%)   28.0 (45.5%)
Large PNG     6105.9  544.7 (91.1%)  544.7 (91.1%)
Small PNG        2.6  2.3 (11.6%)    2.3 (11.8%)

Time to convert and save one file:

Image       Browser   GD        Imagick
----------  --------  --------  --------
Large JPEG  0.63 s    0.36 s    0.37 s
Small JPEG  0.10 s    0.04 s    0.04 s
Large PNG   0.74 s    0.41 s    0.41 s
Small PNG   0.09 s    0.04 s    0.04 s

The JPEG examples shrank by about 45-47%; the large PNG by 91%. The already-small transparent graphic saved about 12%. Your images and quality settings will give different results.

GD and Imagick were faster in this local test. The useful part of browser conversion is being able to do the job when your host can’t.

Test details: macOS 26.6.2, WordPress 7.1.1, PHP 8.4.23 and Chrome 153.0.8010.52. Each time is the median of five fresh conversions after one warm-up. Times include conversion, validation, saving and local requests; they exclude queue waiting and the first encoder download. Your hosting, computer and connection affect the time, including the browser’s image download and WebP upload. KB means 1,000 bytes. Full-size files were measured individually; generated sizes add more work.

Photo: Fronalpstock by Hannes Röst, CC BY-SA 3.0, resized for these tests.

Start with a few images

Open Tools -> IndexLane Safe WebP & AVIF Queue, scan your library, and try a few images. Check the results before enabling frontend serving or converting more. Command-line users can also manage server jobs and reports through WP-CLI; see the FAQ.

Plugin details and documentation.

Written by Joobi from the project's own listing. See the source page

AIAlt TextAVIFimage optimizationwebp
28 Nov 2026
Version 1.4.0 released. Not scanned yet.

1.4.0

  • Advance AI batches through unreviewed images, edit proposals before applying, explicitly approve decorative empty text, and re-review only when requested.
  • Show WebP/AVIF readiness, ready-pair size comparisons and disk overhead, with targeted server or browser repair. Readiness is not a live-page delivery test.
  • Recover attended browser runs after interruption: resume unfinished files, retry failures, or discard the saved selection without deleting completed copies.
  • Add queue health, next attempts, recent errors, ten-job history, and individual or bulk retry for exhausted automatic uploads.
  • Protect queue updates and alternative-text writes against concurrent changes, and recover interrupted workers with bounded retries.
  • Bind constant API keys and paid-review confirmation to the selected provider configuration. Require InnoDB options/postmeta tables for AI writes; older pending proposals need explicit re-review.
  • Reject unsafe or animated PNG sources and strengthen AVIF structural validation before saving or serving copies.

1.3.1

  • Keep saved API keys with their original provider and hide credentials echoed by provider errors.
  • Remove metadata from small Imagick previews, orient previews correctly, and clean up temporary files when a review fails.
  • Preserve alternative text exactly through proposal storage, apply, and restore; reject stale proposals after image or text changes.
  • Reject malformed or incomplete AI results, and allow room for reasoning tokens in Responses API requests.
  • Refresh saved-key controls and replace superseded proposal cards correctly; fix proposal ordering and display useful server errors.
  • Resolve Plugin Check escaping errors and verify AJAX input sanitization and nonce checks.
  • Expand the readme with real AI capabilities, practical uses, and clear conversion and review boundaries.

1.3.0

  • Added optional Media Review with bring-your-own keys for OpenAI, Claude, and Grok while keeping conversion account-free.
  • Added review proposals for page-context mismatch, visible privacy exposure, decorative images, and alternative text. Nothing changes until an administrator applies a proposal.
  • Added reversible alternative-text application, encrypted key storage, an ILSWQ_AI_API_KEY override, metadata-stripped previews, optional page context, bounded requests, and strict provider result validation.

1.2.1

  • Preserve ownership when generated files are stale, missing, or damaged, so quality changes and repairs can regenerate them.
  • Allow WebP and AVIF conversions independently, including adding WebP through the server queue after AVIF conversion.
  • Preserve current AVIF copies during attachment metadata updates and clean obsolete sizes in both formats.
  • Match AVIF responsive candidates to exact source files, preserve crops, and retain the existing image fallback when AVIF coverage is incomplete.
  • Validate stored AVIF containers and compatible brands, including truncated files, animation brands, and malformed box boundaries.
  • Include both formats in report sizes, encoder labels, validation counts, and cleanup wording. Clarify that AVIF uses the browser and server jobs produce WebP.
  • Correct the browser encoder’s AVIF lossless quality and chroma options.

1.2.0

  • Added in-browser AVIF conversion. The bundled WebAssembly worker now encodes AVIF as well as WebP, and Browser conversion format in Queue Settings chooses which one a run produces. AVIF copies are typically 20-50% smaller than the equivalent WebP.
  • Added an AVIF quality setting (default 60, libavif’s scale) beside the existing JPEG and PNG quality controls.
  • Stored AVIF files beside WebP files instead of on top of them, so a library can hold both and the served copy is chosen per browser. Report rows and totals cover either format.
  • Served AVIF through a <picture> element with WebP and the original image as fallbacks, so an AVIF copy never reaches a browser that cannot read it. URL swaps keep serving WebP.
  • Validated AVIF output on the server with a bounded ISO-BMFF box walk that refuses animated sequences, non-AVIF HEIF brands, and malformed boxes before anything is written.
  • Kept AVIF in the browser backend. GD and Imagick cannot be relied on to encode AVIF on shared hosting, so the server queue, automatic uploads and WP-CLI continue to produce WebP.
  • Added the browser AVIF encoder to the release package with its libavif and libaom licence notices.

1.1.1

  • Resolved Plugin Check filesystem errors in the pure-PHP encoder’s JPEG metadata reader, preserving bounded reads and EXIF rotation and mirror protection.
  • Updated release metadata and package verification for 1.1.1.

1.1.0

  • Added a third conversion backend: a pure-PHP WebP encoder. On PHP 8.1+ hosts with no WebP-writing image editor, the built-in queue, whole-library jobs, automatic uploads and WP-CLI can now create WebP files without GD, Imagick, cwebp, or a browser. It is off by default, capped by megapixels, and much slower than the other backends.
  • Bundled the picowebp encoder and added a server check, a settings toggle, and a report label for the new backend.
  • Kept browser conversion as the fallback for files the pure-PHP encoder cannot read or that exceed its size cap.
  • Kept PHP 7.4 support: picowebp is optional, is never loaded on PHP 7.4 or 8.0, and is disabled automatically when its PHP or zlib requirements are not met.
  • Refreshed conversion controls after changing the PHP setting and limited automatic PHP conversion to one attachment per request.
  • Checked actual source dimensions before PHP decoding, protected EXIF-oriented JPEGs, and retained useful fallback reasons and accurate conversion-method labels.

1.0.1

  • Detected ImageMagick builds that ignore WebP quality and used GD or browser conversion instead, with a clearer server capability check.
  • Corrected the WordPress.org “Tested up to” header to 7.1; compatibility testing still uses WordPress 7.1.1.
  • Explicitly sanitized Media Library row-action IDs before normalizing them, resolving the Plugin Check input warning.
  • Updated release metadata and packaging checks for 1.0.1.

1.0.0

  • Added browser (WebAssembly) conversion: a copy of the WebP encoder ships with the plugin and can create WebP files on your own computer, so images can still be converted on hosts whose image tools cannot write WebP.
  • Added a browser conversion panel with a capability report, per-file progress, a running result log, a stop control, and the same report, savings, and serving updates as server conversion.
  • Added a “Convert images in the browser” setting, off by default, and a report reason that names the files only the browser can convert.
  • Wrote every browser conversion through the same install, ownership, conflict, totals, and generated-map path as the local image editor backends.
  • Kept the server queue from accepting work it cannot perform on a host without a WebP writer, and skipped browser-only files instead of reporting them as failures.
  • Added an integration test for the browser backend that covers routing, the REST handshake, container validation, trust boundaries, stored metadata, and frontend serving.

  • Fixed server conversion ignoring the selected quality when WordPress changes the output format to WebP.

  • Fixed stale browser results after quality changes, damaged outputs, or a replaced attachment source; browser saves recheck the current source and settings.
  • Serialized cleanup, totals recalculation, and browser saves with the server queue, kept conflicting controls disabled during a browser run, and allowed conversion after a server job is paused.
  • Added a real worker/codec capability probe, useful server error messages, bounded uploads, and EXIF rotation/mirror rejection before decoding.
  • Corrected encoder labels and savings for partially converted attachments, and applied memory limits to regeneration too.
  • Stopped automatic uploads from retrying browser-only images.
  • Verified WordPress 7.1.1 with GD, Imagick, WP-CLI, and the browser backend regressions; updated the CI matrix.
  • Added measured size and speed comparisons for large/small JPEG and PNG files using Chrome, GD, and Imagick at quality 80.
  • Rewrote the description for shared-hosting users and refreshed six screenshots, including a live WebAssembly conversion.
  • Tested browser WebAssembly conversion in Google Chrome 153.0.8010.52 on WordPress 7.1.1 and real Safari 26.6.2 on WordPress 7.1 (macOS), covering JPEGs, transparent PNGs, generated sizes, saved results, and larger-output skips.

0.3.0

  • Added whole-library background conversion with bounded batches, stable attachment cursors, and existing queue controls.
  • Added Media Library WebP status, savings, conversion actions, and per-image exclusions for conversion and serving.
  • Added stored savings totals and a bounded rebuild for images converted by earlier versions.
  • Added WP-CLI commands for status, scanning, conversion, queue controls, savings, and cleanup.
  • Kept exclusions effective after queuing and corrected savings accounting for partial cleanup and orphan retries.
  • Validated real WP-CLI formatting, automatic queue draining, and cleanup conflict checks.

0.2.1

  • Added report search by filename, attachment title, and ID with matching result counts.
  • Made CSV exports and conversion selection respect the active search and status filter.
  • Added a clear-search control, a no-results message, and accessible status-filter states.

0.2.0

  • Added persistent, resumable conversion jobs with progress, pause, resume, cancel, and failed-item retry controls.
  • Added bounded queue workers with duplicate-worker locking and WP-Cron continuation.
  • Moved automatic new-upload conversion out of the upload request and into retryable background work.
  • Added generation fingerprints to detect source-file and quality-setting changes before safe regeneration.
  • Reconciled plugin-owned WebP files when attachment sizes change or attachments are deleted.
  • Retained failed attachment cleanup for safe background retries.

0.1.5

  • Renamed the plugin to IndexLane Safe WebP Queue and aligned WordPress.org release metadata.
  • Protected unrelated sibling WebP files as conflicts instead of replacing or deleting them.
  • Generated and validated WebP output in a temporary file before installing it at the final path.
  • Made statuses, browser request errors, CSV headers, selection labels, and result summaries translation-ready.
  • Added a root GPL license, dated project changelog, repeatable release packaging, and exact-package checks.
  • Declared testing through WordPress 7.1 with GD and Imagick coverage.

0.1.4

  • Fixed cleanup pagination restarting when a page contains no generated files.
  • Preserved generated-file ownership metadata when physical deletion fails so cleanup can be retried safely.
  • Neutralized formula-like values in CSV exports to prevent spreadsheet formula injection.
  • Validated every stored WebP file across the current report instead of stopping after the first valid file.
  • Cached frontend generated-file inspection once per attachment and request.
  • Added regression coverage for admin cleanup, CSV export, complete validation, and failed cleanup retries.

0.1.3

  • Renamed the generated-file check from Delivery Check to Validate WebP.
  • Added Mac/archive ZIP ignores to the repository.
  • Refreshed screenshots with safety defaults visible and the Reason column readable.
  • Widened the screenshot capture viewport for public plugin assets.

0.1.2

  • Added generated attachment size conversion.
  • Added stored WebP file map per attachment.
  • Added optional frontend serving for normal WordPress image output.
  • Added optional WebP generation for new uploads.
  • Added pause, stop, resume, result filters, and WebP validation controls.
  • Added generated WebP output validation.
  • Added stale and invalid existing WebP detection.
  • Stored new WebP maps with uploads-relative paths.
  • Hardened uploads-directory validation before scan and conversion.
  • Hardened cleanup path validation.
  • Hardened AJAX settings and ID handling.
  • Added clean Plugin Check CI build handling and ignored IDE/build artifacts.
  • Removed full server paths from admin AJAX rows.
  • Lowered the max pixel setting ceiling.

0.1.0

  • Initial release.
  • Added server capability checks.
  • Added Media Library dry-run scan.
  • Added small-batch selected conversion.
  • Added sibling WebP output with originals preserved.
  • Added skip reasons and CSV export.
  • Added explicit cleanup for generated WebP files.
2 Sep 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)