前言介紹
- 這款 WordPress 外掛「Specify Missing Image Dimensions」是 2021-03-17 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2022-05-29,距離現在已有 1070 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
- 有 11 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
yasir129 |
外掛標籤
speed | images | Optimize | pagespeed | image optimization |
內容簡介
Specify Missing Image Dimensions(指定缺少圖片尺寸)是一個 WordPress 外掛程式,可以協助添加缺少的圖片寬度和高度屬性。此外掛會掃描整個 HTML 頁面,並為所有缺少寬度和高度屬性的圖片 tags 加上。
如果您在 Google PageSpeed Insights 上看到像「圖像元素沒有明確的寬度和高度」這樣的錯誤,那麼這個外掛程式就能在必要時加上缺少的圖片寬度和高度屬性,協助您消除錯誤。
透過在圖片上添加寬度和高度屬性,也能改善累積版面位移(CLS),進而避免 HTML 頁面渲染時出現不必要的跳動。
外掛程式如何運作
Specify Missing Image Dimensions 外掛程式掃描整個 HTML 頁面並查找缺少寬度和高度屬性的圖片。
找到圖片後,外掛程式使用 getimagesize() 函數取得圖片大小。
在取得所需尺寸後,此外掛程式會為圖片添加寬度和高度屬性。
功能
按圖片擴展名排除圖片
按圖片名稱排除圖片
按類別排除圖片
按 ID 排除圖片
原文外掛簡介
Specify Missing Image Dimensions is a WordPress plugin that helps to add missing width and height attributes to images. This plugin scans the entire HTML page and specify missing width and height to tags.
If you are seeing error like “Image elements do not have explicit width and height” on Google PageSpeed Insights then this plugin will help you to remove that error by adding missing width and height attributes to the required images.
By adding width and height to the images, Cumulative Layout Shift (CLS) also improves as there will be no more unwanted jumps while HTML page rendering.
How this Plugin Works
Specify Missing Image Dimensions plugin scans the entire HTML page and finds images with missing width and height attributes.
After finding the images, this plugin gets the image dimensions using getimagesize() function.
After getting the required dimensions, plugin adds the width and height attributes to the images.
Features
Exclude images by image extension
Exclude images by image Name
Exclude images by class
Exclude images by ID
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Specify Missing Image Dimensions」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。
WP Fastest Cache 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。
W3 Total Cache 》W3 Total Cache (W3TC) 透過整合內容傳遞網絡 (CDN) 和最新最佳實踐等功能,提高網站性能、減少加載時間,增進 SEO、核心 Web 主要指標和整體用戶體驗。W3TC ...。
Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
SpeedyCache – Cache, Optimization, Performance 》SpeedyCache 是一款 WordPress 外掛,能透過網頁快取、最小化檔案和檔案壓縮的方式,幫助您減少網站載入時間。, 您可以在 https://speedycache.com/docs 找到...。
10Web Booster – Website speed optimization, Cache & Page Speed optimizer 》10Web Booster 是提升網站整體效能的速度優化外掛程式,讓您專注並蓬勃發展 WordPress 網站的創意方面,同時讓我們專心於 WordPress 效能最佳化。透過 10Web ...。
Aruba HiSpeed Cache 》Aruba HiSpeed Cache 是一個外掛,直接與 HiSpeed Cache 服務介面互動,該服務適用於 Aruba 主機平台,並能在 WordPress 儀表板中自動管理,無需訪問網站控制...。
Async JavaScript 》使用 Async Javascript 解決 above-the-fold 內容的 Render-blocking Javascript 問題。, Render-blocking Javascript 會導致 above-the-fold 內容在 Javascr...。
Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer 》數千個使用者已經使用 Clearfy 外掛優化他們的 WordPress 網站。這是一個綜合且免費的工具,擁有豐富的設定。搭配其他外掛使用,可以讓您的 WordPress 網站更...。
Super Page Cache 》為何要選擇這個外掛?, 這個 Super Page Cache for Cloudflare 外掛可以讓您的網站加速,將網站快取提升至另一個層級。此外,這個外掛不僅會快取靜態文件(例...。
Seraphinite Accelerator 》這個外掛可以加速您的網站,使其更具吸引力和搜索引擎友好性。詳細了解如何使用。, 若要使用免費的額外功能,請按照屏幕上的外掛程式指示安裝免費的延伸外掛...。
Fast Velocity Minify 》這是一款針對開發人員和進階使用者優化 HTML、CSS 和 JS 的外掛程式。注意在安裝完畢後需要查看 HELP 標籤,手動設定適合你的網站的設定。每個網站都不同,因...。
WP Meteor Website Speed Optimization Addon 》 , WP Meteor 是一種全新的優化網頁速度的方式。即使在現有的優化基礎之上,例如:, , Autoptimize, WP Rocket, WP Total Cache, WP Super Cache, , WP Meteo...。
Insights from Google PageSpeed 》Google Pagespeed Insights 是一個工具,能協助您做出增加網站效能的決策。Google Pagespeed 建議基於目前桌面及行動網頁效能的最佳實踐。, 透過進階的資料視...。
Speed Booster Pack ⚡ PageSpeed Optimization Suite 》「Speed Booster Pack」是一款WordPress外掛,它可以讓你的網站速度更快,讓你在Google PageSpeed、GTmetrix、Pingdom、WebPageTest等主要速度測試服務上得到...。