Linux 软件免费装
Banner图

AVIF Local Support

开发者 ddegner
更新时间 2025年11月19日 02:12
PHP版本: 8.0 及以上
WordPress版本: 6.8
版权: GPL v2 or later
版权网址: 版权信息

标签

performance media images conversion avif

下载

0.1.5 0.1.6 0.1.3 0.1.7 0.2.1 0.2.2 0.2.3

详情介绍:

AVIF Local Support adds modern AVIF image support to WordPress while keeping compatibility with existing JPEG media. Built by a Boston photographer who needs it for their own portfolio website. GitHub Repository: https://github.com/ddegner/avif-local-support How it works Requirements

安装:

  1. Upload the plugin files to the /wp-content/plugins/avif-local-support directory, or install via the WordPress Plugins screen.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings → AVIF Local Support to configure options.

屏幕截图:

  • Tools — convert missing AVIFs, test a conversion, and delete AVIFs.
  • Status — server capability check and library coverage.
  • About — in-admin readme for quick reference.

升级注意事项:

0.2.3 Improves compatibility with lightboxes (SimpleLightbox) by linking to AVIFs automatically. Recommended update. 0.2.2 Improved stability on low-RAM servers with pre-conversion memory checks and better error logging suggestions. Recommended update. 0.2.1 New Logs panel, diagnostic tools, improved scheduling, and fixes for HTML output. Recommended update. 0.2.0 Major update: Adds ImageMagick CLI support with auto-detection, improved admin interface, and enhanced engine selection options. Recommended update. 0.1.8 Performance optimization for Imagick-based conversions: reduces memory usage and I/O operations while maintaining all quality features. Recommended update. 0.1.7 Fixes color desaturation for AdobeRGB JPEGs converted to AVIF by preserving ICC correctly and avoiding conflicting nclx. Recommended update. 0.1.6 More accurate color handling: preserves ICC for tagged images, avoids sRGB-desaturation of AdobeRGB/P3, and normalizes EXIF Orientation. Adds Status warning for GD color limits. Recommended update. 0.1.5 New Tools action to delete AVIF files; improved progress UI and more accurate Status counts. Recommended update. 0.1.4 New encoder controls; improved defaults. Recommended update. 0.1.3 Cleanup and maintenance. No behavior changes. 0.1.2 Security and compatibility improvements; recommended update. 0.1.1 Accessibility and scheduling improvements; recommended update. 0.1.0 Initial release of AVIF Local Support.

常见问题:

Does this modify my original JPEGs?

No. It creates .avif files alongside your existing JPEG originals and sizes.

Will this slow down uploads?

If “Convert on upload” is enabled, some servers may take longer to process uploads due to AVIF generation. You can disable this and use the scheduled/background conversion instead.

Do I need Imagick?

Imagick is recommended for the best results and for preserving metadata and color profiles. If Imagick is not available, the plugin falls back to GD where supported.

Does it track users or send data externally?

No. The plugin does not track users or send data to external services.

ImageMagick CLI not detected on LiteSpeed/CyberPanel due to open_basedir?

On LiteSpeed/CyberPanel, the vhost sets a restrictive open_basedir (e.g., /tmp:/home/<site>). PHP’s is_executable('/usr/local/bin/magick') returns false under that restriction even when the binary exists and works from the shell. The plugin currently relies on is_executable and bails out instead of offering a fallback or a guided fix.

Why do I see a "High risk of memory exhaustion" error in the logs?

The plugin now estimates memory usage before processing to prevent fatal errors (crashes) on servers with limited RAM. If you see this, try switching to the "ImageMagick CLI" engine or increasing your PHP memory_limit. As a last resort, you can check "Disable memory check" in the settings to bypass this safety measure.

更新日志:

0.2.3 0.2.2 0.2.1 0.2.0 0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0 Initial release.