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.

Project Information