Linux 软件免费装

Specify Missing Image Dimensions

开发者 yasir129
更新时间 2022年5月30日 02:20
PHP版本: 5.3 及以上
WordPress版本: 6.0
版权: GPLv2 or later
版权网址: 版权信息

标签

speed image images Optimize pagespeed image optimization CLS

下载

详情介绍:

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.

安装:

Search for "Specify Missing Image Dimensions" under "Plugins" → "Add New" in your WordPress dashboard to install the plugin. Or install it manually:
  1. Download the plugin's zip file.
  2. Go to PluginsAdd New in your WordPress admin.
  3. Click on the Upload Plugin button.
  4. Select the file you downloaded.
  5. Click Install Plugin.
  6. Activate.

屏幕截图:

  • Access "Specify Missing Image Dimensions" Settings Page
  • "Specify Missing Image Dimensions"  Settings Page

常见问题:

Why this plugin is important?

Once this plugin assigns missing width and height attributes to required images, there will be no more unwanted jumps while page rendering. Adding missing width and height attributes also help to improve scores on website speed tools such as Google's PageSpeed and GTmetrix

Does this plugin also works for SVG?

Yes, if the SVG are added using tag, then this plugin will work fine for them. But if you see some issues with SVG or any other type of images, you can exclude SVG using plugin's option.

更新日志:

1.0.2 1.0.1 1.0.0