[WordPress] 外掛分享: Image Processing Queue

首頁外掛目錄 › Image Processing Queue
400+
安裝啟用
★★★★★
5/5 分(9 則評價)
2513 天前
最後更新
問題解決
WordPress 4.6+ v1.1.1 上架:2017-03-06

內容簡介

Image Processing Queue 是 WordPress 主題中 on-the-fly(即時處理)圖像處理(例如 Aqua Resizer)的替代方案。
與即時處理圖像相似,它允許主題開發人員針對特定主題配置定義圖像大小,而不是為所有上傳的圖像定義一個大小。這大大減少了重新調整大小的圖像數量,從而減少了磁盤空間使用量和上傳圖像的等待時間。

當圖像還不存在時,Image Processing Queue 與即時處理圖像的行為不同。即時處理圖像會立即生成圖像,最終用戶必須等待圖像生成。而 Image Processing Queue 則沒有等待。它立即返回已經存在的圖像(這是與被請求圖像大小最相近的圖像),然後將圖像大小添加到佇列中。使用 WP Queue 在後台靜默生成圖像大小。

Image Processing Queue 還比即時處理圖像更好地支援響應式主題。它允許主題開發人員為其主題的響應式斷點定義圖像大小列表。Image Processing Queue 生成的圖像會添加到文章 meta 中,以便 WordPress 核心的響應式功能自動將它們添加到 srcset,並在從媒體庫中刪除圖像時從檔案系統中刪除它們。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Image Processing Queue」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Image Processing Queue is an alternative to on-the-fly (OTF) image processing (e.g. Aqua Resizer)
for WordPress themes.
Like OTF image processing, it allows theme developers to define image sizes for specific theme
contexts rather than defining a size for all uploaded images. This greatly reduces the number of
resized images and hence reduces disk space usage and the wait time when uploading an image.
Image Processing Queue differs from OTF image processing in how it behaves when an image doesn’t
exist yet. OTF generates the image right away and the end-user has to wait for the image to be
generated. With Image Processing Queue there’s no waiting. It immediately returns an image that
already exists (that is the closest fit to the image size requested) and adds the image size to
a queue. Image sizes are quietly generated in the background using WP Queue.
Image Processing Queue also accommodates responsive themes much better than OTF. It allows theme
developers to define a list of image sizes that will work best for their theme’s responsive
breakpoints. Images generated by Image Processing Queue are added to the post meta so that WordPress
core’s responsive functions will automatically add them to the srcset and delete them from the
filesystem when the image is deleted from the Media Library.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon