關於Disable -scaled Images
Since 5.3, WordPress downscales any image over 2560px and serves a "-scaled" copy instead of your original. It is the single most common reason an image looks soft after upload. This generates the filter that turns it off.
FAQ
常見問題
為什麼我的圖片上傳到 WordPress 之後看起來很模糊?
因為自 WordPress 5.3 起,任何最長邊超過 2560px 的圖片都會被縮小,而 WordPress 會提供那份「-scaled」副本,而不是你的原圖。你的原圖仍在磁碟上——只是永遠不會被用到。這是圖片糊掉最常見的原因,卻幾乎沒人知道它的存在。
我該完全停用 -scaled 圖片嗎?
只在有意為之時才做。關掉它意味著 WordPress 會提供你完整解析度的原圖——這對攝影和接近印刷用途的網站是對的,但對一般部落格是錯的,因為把一張 6000px 的主視覺送到手機上,是實實在在的效能代價。調高 threshold 往往是更好的折衷方案。
這能修好我已經上傳過的圖片嗎?
不能。這個 filter 只會影響它生效之後上傳的圖片。既有的圖片會保留它們的 -scaled 副本,直到你重新上傳,或重新產生縮圖為止。