Linux 软件免费装
Banner图

Designed2Use Convert to WebP/AVIF

开发者 designed2use
guy1ncognito
更新时间 2026年9月18日 21:26
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy optimization convert webp avif

下载

1.0.0 1.0.1 1.0.2

详情介绍:

Designed2Use Convert to WebP/AVIF is a privacy-first image optimizer with one promise the big-name plugins can't make: your images never leave your server, and every conversion can be undone. Most popular optimizers upload your images to a third-party cloud service to do the work — counting against monthly quotas and handing your media to someone else's servers. This plugin does everything locally, using WordPress's own image editor (Imagick, falling back to GD). No accounts, no API keys, no external requests. Why it's different What it does Settings Under Settings → Convert to WebP/AVIF: Converting and restoring existing images Go to Media → Convert Existing. The page shows how many images still need converting, how many can be restored, and your running savings total. Conversions run in safe batches. Because bulk conversion always keeps the original file on disk, the change is never destructive: use Restore all to originals on the Tools page, or the Restore original row action on any converted item in the Media list (single images, or several at once via the Media-list bulk actions), to delete the converted files and put the attachment back exactly as it was. Uploads converted with Keep original file turned on are restorable the same way; uploads that replaced their original cannot be undone. Privacy This plugin contacts no external server, collects no data, and adds no tracking. WebP and AVIF are written by your own server's image library. Everything happens on your site.

安装:

  1. Upload the designed2use-convert-to-webp folder to /wp-content/plugins/, or install through Plugins → Add New.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings → Convert to WebP/AVIF, choose your output format, quality, and maximum edge (sensible defaults are set for you).
  4. Upload an image as usual — it's stored in the modern format automatically.
  5. To convert your existing library, open Media → Convert Existing and click Convert existing images.

屏幕截图:

  • Media -> Convert Existing — savings dashboard, batch converter, and restore controls.
  • Media -> Convert/Restore single image from media library.

升级注意事项:

1.0.2 Fixes phone-camera portrait photos appearing sideways, stops WordPress re-scaling converted images to "-scaled", and resizes WebP/AVIF uploads to your max edge. 1.0.1 WordPress 7.1 compatibility: uploads are converted once, on your server, as before. 1.0.0 Initial release.

常见问题:

Does it send my images to a cloud service?

No. Unlike many optimizers, this plugin does all conversion on your own server using WordPress's built-in image editor. There are no external requests, accounts, or quotas.

Can I undo a conversion?

Yes — as long as the original is still on disk. Bulk conversion always keeps originals, and uploads keep theirs when Keep original file is enabled. Use Restore all to originals on the Tools page, the Restore original row action on any converted image, or the Media-list bulk action for several at once. Restore deletes the converted files and puts the attachment back to its original file, mime type, and thumbnails. Uploads that replaced their original (the default) cannot be undone.

WebP or AVIF — which should I choose?

WebP has the broadest browser and host support and is the default. AVIF produces smaller files and is offered when your server's image library can write it; if you select AVIF on a server that can't, the plugin safely falls back to WebP.

Does it convert images already in my Media Library?

Yes — that's what Media → Convert Existing is for. It processes JPG/PNG attachments in batches with a progress bar and updates the savings dashboard as it goes.

Will my originals be deleted?

Bulk conversion never deletes originals — that's what makes restore possible. For new uploads, the original is replaced by default; turn on Keep original file to keep both, which is also what makes an upload restorable later.

Does it work on shared hosting?

Yes, as long as the server's image library can write the chosen format — the Imagick PHP extension, or GD with WebP/AVIF support. If it can't, the plugin shows a notice and leaves your images untouched.

Can developers customise the conversion?

Yes. Both upload and bulk conversion go through the same two hooks:

  • d2ucw_convert_args (filter) — change quality, max_edge, or mime + ext for a single image. Receives $opts and the source file path.
  • d2ucw_before_save (action) — runs after rotation and resizing, just before saving. Receives the WP_Image_Editor, the source path, the output path and the output mime type.

更新日志:

1.0.2 1.0.1 1.0.0