前言介紹
- 這款 WordPress 外掛「Slimage」是 2018-09-11 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2023-11-05,距離現在已有 546 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
gsarig |
外掛標籤
image | optipng | compress | Optimize | optimization |
內容簡介
Slimage 使用 jpegoptim 和 optipng 在圖片上傳時進行壓縮,它會壓縮 WordPress 生成的縮略圖,但保留原始檔案以便在必要時恢復更改。
此外,外掛還允許您逐個圖像設置壓縮級別和品質。這樣,您就可以完全掌控為實現更好的性能改進而願意犧牲多少質量,這在您想通過 Google PageSpeed 測試時非常方便。
如果與 WP-CLI 的 wp media regenerate 命令或某些縮略圖再生插件一起使用,您可以批量優化照片,甚至可以進行實驗,找到適合您的質量/大小組合。
要使用此外掛,您需要在您的伺服器上安裝 jpegoptim 和 optipng ,並確保您的 php.ini 中未禁用 PHP 的 shell_exec() 函數。
功能
在圖片上傳期間進行壓縮。
您可以為所有新上傳的圖像設置默認壓縮級別。
您可以對每個圖像覆蓋壓縮級別。
您可以使用jpegoptim和optipng的所有可用選項。
結合某些圖像再生插件一起使用,您可以批量壓縮現有圖像。
此外掛保留原始圖像,可逆轉任何更改。
原文外掛簡介
Slimage uses jpegoptim and optipng to compress your images during upload. It will compress the thumbnails that WordPress generates but will leave the original file intact, so that you can safely restore your changes if necessary.
The plugin will also allow you to manually set the compression level and quality on a per-image basis. That way you have absolute control on how much quality you are willing to sacrifice in order to achieve better performance improvements, which can be handy if you want to pass the Google PageSpeed test.
Using it in conjuction with the wp media regenerate command of WP-CLI or with some thumbnail regeneration plugin, you can bulk optimize your photos and even experiment until you find the combination of quality/size that suits you.
To use the plugin you need to have jpegoptim and optipng installed on your server and make sure that PHP shell_exec() function isn’t disabled in your php.ini.
Features
Compress an image during upload.
You can set a default level of compression for all newly uploaded images.
You can override that compression level on a per-image basis.
You can use all the available options of jpegoptim and optipng.
Combining it with some image regeneration tool, you can bulk compress your existing images.
The plugin leaves the original image intact, so that any change that you make can be reversible.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Slimage」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.0.1 | 1.0.2 | 1.0.3 | trunk |
延伸相關外掛(你可能也想知道)
Another simple image optimizer 》總結:此 WordPress 外掛可透過 Spatie image-optimizer library 和主機系統上的二進制文件來優化上傳的圖片 (包括 jpg、png、gif、webp 和 svg 等格式)。除...。