Specify Image Dimensions Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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