[WordPress] 外掛分享: WebP Image Optimization

前言介紹

  • 這款 WordPress 外掛「WebP Image Optimization」是 2024-10-02 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2024-10-07,距離現在已有 208 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

adgardner1392 |

外掛標籤

png | jpeg | webp | image conversion | image optimization |

內容簡介

總結:WebP 圖片優化通過將上傳的 JPEG 和 PNG 圖片轉換為更高效的 WebP 格式來增強您的網站性能。它還允許您調整圖像大小到指定的最大尺寸,以及調整圖像質量和壓縮設置。

問題與答案:

1. 什麼是 WebP Image Optimization 外掛的主要功能?
- 將上傳的 JPEG 和 PNG 圖片轉換為 WebP 格式。
- 允許調整圖像大小和品質壓縮設置。

2. 怎麼樣可以自動將圖片轉換為 WebP 格式?
- 在上傳時自動將 JPEG 和 PNG 圖片轉換為 WebP 格式。
- 可選擇排除特定的 JPEG 和/或 PNG 圖片。

3. 怎麼樣調整圖片的大小?
- 調整超過用戶指定的最大寬度和高度的圖像。
- 在調整大小過程中保持長寬比例。

4. 如何控制圖像的品質和壓縮?
- 設置 JPEG 的品質範圍在 0 到 100 之間。
- 設置 PNG 的壓縮等級在 0 到 9 之間。

5. 如何訪問設置頁面?
- 在 WordPress 管理儀表板中的「工具」>「WebP Image Optimization」下。
- 具備響應設計和用戶友好的界面。

6. 如何體現優化性能?
- 使用純粹的 JavaScript 進行設置頁面交互。
- 遵循 WordPress 編碼標準和最佳實踐。
- 對服務器資源影響最小。

7. 什麼是使用 WebP Image Optimization 的好處?
- 改善頁面加載速度,WebP 圖片通常比 JPEG 和 PNG 更小,減少了帶寬使用。
- 快速加載圖像增強了用戶體驗。

8. 如何可以獲得支持?
- 請前往外掛支持論壇或 GitHub 存儲庫。

原文外掛簡介

WebP Image Optimization enhances your website’s performance by converting uploaded JPEG and PNG images to the more efficient WebP format. It also allows you to resize images to specified maximum dimensions and adjust image quality and compression settings. With the latest update, you can now convert existing images directly from the Media Library and view detailed file size savings, making the optimization process more insightful and streamlined.
Key Features:

Automatic Conversion to WebP:

Converts JPEG and PNG images to WebP format upon upload.
Option to exclude JPEG and/or PNG images from conversion.

Media Library Integration:

New in v1.4.0: Added WebP conversion option directly within the Media Library.
Easily convert existing images to WebP without re-uploading.
v1.3.1: Added redirection/refresh when an existing image is converted to WebP in the Media library.

Image Resizing:

Resize images that exceed user-defined maximum width and height.
Maintains aspect ratio during resizing.

Quality and Compression Control:

Set JPEG quality (0-100).
Set PNG compression level (0-9).
Adjust settings via intuitive sliders or input fields.

File Size Savings Display:

New in v1.4.0: Displays original and WebP file sizes in a readable format (KB/MB).
Shows the amount of file size saved both in bytes and percentage.
Enhances transparency of optimization benefits.

Settings Page:

Accessible under Tools > WebP Image Optimization in the WordPress admin dashboard.
User-friendly interface with responsive design.

Optimized for Performance:

Uses vanilla JavaScript for settings page interactions.
Follows WordPress coding standards and best practices.
Minimal impact on server resources.

Benefits:

Improved Page Load Times:

WebP images are typically smaller than JPEG and PNG, reducing bandwidth usage.
Faster image loading enhances user experience.

SEO Advantages:

Improved site speed can positively impact search engine rankings.

User Control:

Flexible settings allow customization based on specific needs.
Ability to maintain original image formats if desired.

Enhanced Convenience:

Convert existing images directly from the Media Library, saving time and effort.
View detailed file size savings to understand optimization impact.

Roadmap

Implement fallback mechanisms for browsers that do not support WebP.
Add bulk conversion option for existing images in the media library.
Provide more granular control over image resizing and quality settings.
Enhance compatibility with other media-related plugins.
Introduce advanced reporting on overall file size savings across the website.

Support
For support, please visit the plugin support forum or the GitHub repository.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WebP Image Optimization」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2 | 1.3.0 | 1.3.1 | 1.4.0 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon