內容簡介
在 WordPress 5.3 中,改進了圖像處理的方式,其中之一是引入了「大圖」(BIG images) 的概念。當上傳的圖像超過「大圖」閾值(預設為2560),系統會生成一張新的「完整尺寸」圖像。在生成圖像子尺寸時,系統會使用這個新的圖像,以減少伺服器負載,而不是真正的原始圖像。
在 5.3 之前,原始上傳的圖像可能會在前端顯示,即使它們不適合「網頁使用」。過大的圖像會影響效能、浪費頻寬(這對於網速慢或帶寬受限的用戶來說很不幸)。現在,系統會顯示這張新的完整尺寸圖像。
然而,在某些情況下,您可能需要禁用此閾值。例如,您可能需要顯示原始圖像,如攝影網站,或者您的主題需要全屏背景。
此插件禁用了「大圖」圖像閾值,並保留了作為完整尺寸的原始上傳圖像。
有關 WordPress 5.3 圖像處理方面的更多信息,請查看開發人員注釋。詳細內容請查看Making WordPress Core blog。
外掛標籤
開發者團隊
原文外掛簡介
In WordPress 5.3, several improvements were made to how images are processed. One of these improvements was the concept of “BIG images”. When an image is uploaded that exceeds the “BIG image” threshold (2560 by default), a new “full” size image is generated. This new image is then used instead of the true original when generating image subsizes to reduce server load.
Prior to 5.3, it was possible for the originally uploaded image to be displayed on the front-end, even when they were not “web ready”. Unnecessarily large images can be bad for performance and wastes bandwidth (which is unfortunate for those with slow Internet, or bandwidth caps by their service plans). This new full size image will now be displayed instead.
There are some scenarios where disabling this threshold would be desired, though. Maybe you run a photography site that
needs to display original images, or your theme has full screen backgrounds.
This plugin disables the “BIG” image threshold and preserves the true originally uploaded image as the full size.
For more information on the improvements to image processing in WordPress 5.3, check out these developer notes on the Making WordPress Core blog.
