[WordPress] 外掛分享: Dynamic Thumbnails

首頁外掛目錄 › Dynamic Thumbnails
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
2979 天前
最後更新
問題解決
WordPress 3.0+ v0.1 上架:2018-01-19

內容簡介

預設情況下,WordPress 會為每張上傳的圖像生成所有由主題/外掛註冊的中介尺寸的圖像,洪水般地淹沒您的上傳文件夾,其中有許多圖像是您永遠不會使用的。
在大多數情況下,您只需要所有尺寸的圖像用於設定為特色圖像的圖像。
此外掛防止 WordPress 生成主題和外掛註冊的縮略圖,僅在需要時動態生成。

此外掛的另一個重要用途,也是其開發的主要原因

不同的主題使用不同的縮略圖大小。當您切換到新主題時,
WordPress 只提供最接近所調用縮略圖大小的圖像而不生成符合所需尺寸的圖像。
在大多數情況下,最佳符合的是原尺寸圖像,這會增加頁面的負擔,並讓其看起來非常糟糕。
有一些可以重建縮略圖的外掛,但它們會為每個上傳的圖像執行此操作,並再次淹沒您的上傳文件夾。
此外,如果您擁有大量圖像,這些外掛在共用伺服器上會因超時而失敗。

* 此僅適用於由 add_image_size() 函式註冊的尺寸。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

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

原文外掛簡介

By default WordPress generates images of all intermediate sizes registered by themes/plugins for every image uploaded, flooding your uploads folder with images you will never be using.
In most cases you need the images of all dimensions only for the one set as featured image.
This plugin prevents WordPress from generating thumbnails registered by themes and plugins, and generates them dynamically when required.
Another important use of this plugin, the main reason why its developed is
Different themes use different thumbnail sizes. When you switch to a new theme,
WordPress just gives the image whose size closely matches the size of the thumbnail being called without generating an image with the required dimensions.
In most cases the best match is the full size image, which adds lot of weight to your page and also makes it look awful.
There are plugins to rebuild thumbnails, but they do it for every image uploaded and again flooding your uploads folder.
Also these plugins timeout on a shared server if you have lot of images.
*This only works with sizes registered by add_image_size() function.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon