Dimensions

Categories

Component ID

814486

Component name

Dimensions

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

557

Component created

Component changed

Component body

Adding width and height attributes to <img> tags is important in order to help the browser more quickly and properly render a page; however, it can also be a little annoying, especially if you have many images. This input filter will find <img> tags in content which lack width and height attributes and attempt to add them automatically, if the image is stored on the same server.

The functionality of this input filter is somewhat eclipsed by the Image Resize Filter; however, that filter does many other things besides, so Dimensions is a good choice if just this functionality is desired.