WordPress 圖片壓縮外掛 Compress JPEG & PNG images 設定教學
自從開始撰寫 Blog,所有要上傳到 WordPress 的圖片都會先到 TinyPNG 的網站手動進行線上圖片的壓縮,,現在 TinyPNG 官方終於推出 WordPress 圖片壓縮外掛 Compress JPEG & PNG images,不僅可大幅減少圖片佔用的空間,同時也能提升網站圖片載入的速度,真是方便不少。

安裝外掛
至後台 > 外掛 > 安裝外掛,搜尋外掛 Compress JPEG & PNG images,安裝完成並啟用外掛。


取得 API Key
點擊「TinyPNG Developer section」。

輸入 name 與 email,點擊「Get your APK key」。

已將確認信寄至您剛填寫的 email。

開啟郵件,點擊「Visit your Dashboard now」。

複製您的 API key。
免費用戶一個月可壓縮 500 張圖片,需付費才可解除限制

設定
貼上剛複製的 API key > 點擊「儲存變更」即可。
- File compression 所勾選的為上傳時實際會壓縮的尺寸,如有沒用到的尺寸可取消勾選。
- 若要針對原先已上傳的所有圖片進行壓縮,可點擊「Compress All Images」。

參考

本著作係採用創用 CC 姓名標示-相同方式分享 3.0 台灣 授權條款授權.