Specify Image Dimensions
Automatically specify image dimensions that are missing width and/or height attributes. Helps load faster and better ranking on website speed tools su …
تقييمات
آخر تحديث
January 30, 2017
النسخة
1.1.0
التنصيبات النشطة
300
Specify Image Dimensions is a plugin that scans and inserts missing
width
andheight
in all<img>
tags. Specifying the dimension allows for faster rendering by eliminating the need for unnecessary re-flows and repaints. This is particularly helpful with website speed tools such as GTmetrix and Google’s PageSpeed.
Before
<img src="http://example.com/image.jpg" title="Some Title" />
<img src="http://example.com/vector.svg" class="svg" />
<img src="http://example.com/another-vector.webp" />
After
<img src="http://example.com/image.jpg" title"Some Title" width="100" height="25" />
<img src="http://example.com/vector.svg" class="svg" width="100%" height="auto" />
<img src="http://example.com/another-vector.webp" width="100%" height="auto" />
Contribute on GitHub
Want to help improve this plugin? Head over to our GitHub page
تتوافر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت المستضافة ذاتيًا على ووردبريس لديك.