Disable "BIG Image" Threshold

外掛說明

在 WordPress 5.3 中加入多項對圖片處理的改進,其中一項是對大尺寸圖片概念的改變。當上傳的圖片超過大尺寸圖片預設臨界值 2560px 時,系統會產生一張新的完整尺寸圖片。這張新圖片用來取代大型尺寸的原始圖片,藉以降低伺服器負載。

在 5.3 (不含) 之前的版本,即使上傳的圖片不適用於網頁,也可以在網站前端顯示原始尺寸圖片。不必要的大尺寸圖片對網站效能有不良影響,並且浪費頻寬,而且連線速度較慢的主機或主機服務方案有頻寬限制時,影響更大,因此在新版 WordPress 中便以產生新的完整尺寸圖片取代過大型尺寸的圖片。

但在某些使用情境中,停用這個臨界值限制有其必要性;例如攝影類網站變需要顯示原始尺寸圖片,或網站使用的佈景主題需要全螢幕尺寸背景。

這個外掛會停用 5.3 所設下大型尺寸圖片尺寸臨界值,並保留真實完整原始尺寸圖片。

如需進一步瞭解 WordPress 5.3 對圖片處理的改進,請參閱 Making WordPress Core 部落格上的開發者記事 (文章 1文章 2)。

安裝方式

  1. 外掛壓縮檔解壓縮後,將包含全部檔案的外掛資料夾上傳至 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

常見問題集

這是一個全新的外掛,因此尚無常見問題集。

使用者評論

2020 年 2 月 26 日
I installed this plugin after googling why WordPress added "scaled" to the filename of my images. I was under the impression this plugin removes the scaling and stops WordPress from adding "scaled" to my filenames. After installing the plugin, it still scaled and still added the words "scaled" to the end of the filename
2020 年 2 月 26 日
Thank you for making the plugin to revert this "feature". While I get it that large images shouldn't USUALLY be used, there are certain times that they are like in my own client website portfolio. Imagine my shock when I uploaded a 1280x7486 image of a front page of a website to find it got resized down to 2560 long! Ugg had to search it out and found out that this was added to core and I didn't know AND I'm a WordCamp organizer involved in the community. There really should have been a UI tip as to what happened! BTW when I search the plugins within the site for "disable big image resizing" yours didn't come up. I only found it after seeing it in a comment on https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/.
2020 年 2 月 21 日
Thank you so much for this plugin. WP seems to have got stuck in the 'we are all just publishing simple webpages for ordinary devices' instead of realising how much it is used as a CMS and for driving different types of usage. My own problem was loading the entire jpg for the Bayeux Tapestry - long but only 300px or so high. WP 5.3 actually loaded it but at 23px high - without warning! Other more 'normal' images which are too big at least loaded on 5.2 so we could use the original, if not the intermediate versions, but not on 5.3 The point of the Tapestry jpg is that a user can scroll along it - not all shown on the screen at once. Did WP developers think of this?? I spell this out in the hopes it saves others' time.
2020 年 1 月 27 日
Images are integral to the look and feel of the posts I publish on my website. Not being technical and unable to load images of a certain size I feared the worst...but after reading on forums that many others were receiving the same error message and that this plugin was available I was able to breathe easily once again!! Thank you so much, Jonathan
2020 年 1 月 24 日
Hi - I was really surprised about this restrictive function. I did notice the fact that my panos were realy 'washed'. Thank you
閱讀全部 22 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Disable "BIG Image" Threshold〉的開發相關工作。

參與者

Disable "BIG Image" Threshold 外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Disable "BIG Image" Threshold 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Hello world!