| 开发者 | plugstack |
|---|---|
| 更新时间 | 2026年11月11日 00:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp pixavif status, convert, bulk, restore and test.wp-content/uploads-pixavif. Remove the copies of one image, or all of them from Tools, and your site goes straight back to the originals.
Quiet by design
No. Originals are never edited or replaced. Copies are saved in wp-content/uploads-pixavif with the new extension added, for example photo.jpg.avif.
Yes. Conversion happens on your own server, so there is no quota, no API key and no per-image cost.
Keep both on. AVIF is usually the smallest file, WebP is the fallback for browsers and servers without AVIF, and the original is the last fallback. Pixavif picks the best one for each visitor.
Pixavif uses WebP instead, so your images are still optimized. The Server tab explains the easiest fix. On PHP 8.0 or older, switching to PHP 8.1 or newer in the hosting panel often turns AVIF on. The "Email your host" button prepares a message with the exact technical details your host needs.
For images in the Media Library, yes. After the bulk conversion, clear your page cache and run the test again. Images loaded by CSS backgrounds or by scripts need server rewrite delivery (see below).
Yes. Picture tags, the default delivery method, only change the page HTML, so they work with any server, CDN and page cache. Clear the page cache after the first conversion. Server rewrite works on Apache and LiteSpeed. On nginx, copy the configuration from Settings → Delivery, reload nginx and click Re-check on the Server tab. If your CDN ignores the Accept header, Test delivery will tell you and recommend picture tags.
Yes. Tested with Elementor, Elementor Pro, Divi, Beaver Builder, SiteOrigin, WooCommerce, the block editor, Spectra, Kadence Blocks and GenerateBlocks, on Astra, Kadence, GeneratePress, OceanWP, Neve, Blocksy, Hello Elementor, Storefront and the default themes. Right to left languages and Polylang are covered too. Page builder editors are left alone, so picture tags never end up saved in your content. For images that builders and themes print outside the post content, turn on "Also replace images outside post content" in Settings → Delivery.
Yes. Tested with LiteSpeed Cache, WP Super Cache, Autoptimize, Smush, WP-Optimize and a3 Lazy Load. Clear the page cache once after a bulk run so cached pages pick up the new markup.
Check the Pixavif column in the Media Library first. Images added by a theme or page builder need "Also replace images outside post content". Clear any page cache. And if the converted file would be bigger than the original, Pixavif keeps the original on purpose. With picture tags, a few images stay JPEG or PNG because they are added by scripts or CSS: the WooCommerce zoom image, CSS background images (for example Elementor section backgrounds) and galleries that make their own resized copies outside the Media Library. Server rewrite covers these, because it works on the image URL instead of the HTML.
CMYK JPEGs (print files), images smaller than 64 x 64 pixels, animated GIFs and copies the server's image library would damage. Every copy is checked after encoding. If transparency or a wide color profile (for example from an iPhone photo) was lost, the copy is discarded and the original is used. On servers with ImageMagick 6, transparent images get WebP instead of AVIF. AMP pages keep plain images.
A few themes style images with selectors that expect the image directly inside its parent. Switch to server rewrite (Apache and LiteSpeed), or skip single images with the pixavif_skip_picture filter or the no-pixavif CSS class.
Open Media → Pixavif → Tools and choose "Remove all converted files". Every AVIF and WebP copy is deleted and your pages show the originals again. Deactivating the plugin also removes its server rules right away.
Yes. Each site has its own settings, statistics and folder (uploads-pixavif/sites/{id}).
The readable source ships with the plugin in src/admin/. It is built with @wordpress/scripts into build/admin/.