Only WebP Uploads

描述

Only WebP Uploads automatically converts your image uploads (JPG, PNG, GIF) to WebP format. It handles all image sizes generated by WordPress, ensuring your site serves optimized, modern image formats.

Features:
* Automatic Conversion: Converts images immediately upon upload.
* Space Saving: Replaces original files with lighter WebP versions.
* Database Integration: Updates WordPress metadata so the Media Library recognizes the file as WebP.
* Bulk Conversion: Includes a tool to scan and convert existing images in your library.
* WP-CLI Support: Manage conversions via command line using wp onlywebp.
* Smart Filename Sanitization: Automatically cleans filenames (e.g., mañana.jpg -> manana.webp). For non-Latin names (e.g., Japanese), it generates a secure unique ID to ensure compatibility.
* Security: Checks for Imagick support and sanitizes filenames.

螢幕截圖

  • General Settings / Plugin Configuration.
  • Bulk Optimization Tool / Media Library view.

安裝

  1. Upload the plugin files to the /wp-content/plugins/only-webp-uploads directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->Only WebP Uploads screen to configure your preferences.

常見問題

Does this modify my original images?

Yes, this plugin is designed to replace your original uploads with WebP versions to save storage space.

Requirements?

You need the PHP Imagick extension installed and enabled on your server, with WebP support.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Only WebP Uploads” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Only WebP Uploads 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • New: Added “Strict Filename Sanitization” toggle.
  • New: Rewritten UI with toggle switches and quality slider.
  • Fix: Prevent file overwrite when uploading files with the same name.

1.0.0

  • Initial launch on WordPress.org

0.4.1

  • Fix: Resolved issues reported by WordPress Plugin Review Team.
  • Fix: Properly enqueued admin scripts and styles.
  • Fix: Scoped sanitization filter to upload process only.
  • Fix: Corrected Text Domain to match plugin slug.

0.4

  • Production release

= 0.3.9 (RC)=
* Fix: Translation corrections.
* New: Added “Credits tab”.

= 0.3.8 (BETA)=
* Security: Improved output escaping in admin dashboard.
* Compliance: Standardized readme.txt and headers.

0.3.7 (BETA)

  • Refactor: Renamed internal references from wua to onlywebp.
  • Fix: Resolved text domain mismatch issues.
  • Security: Added warnings for bulk content replacement.

0.3.6 (BETA)

  • Fix: Resolved duplicated image issues.

0.3.5 (BETA)

  • Initial release.

0.2.0 (ALFA)

  • Base structure.

= 0.1.0 (PRE-ALFA)=
* Idea and concept.