Insert Image Dimensions

PageSpeed Optimization Filters

Benefits

This flag inserts width= and height= attributes into tags that lack them and sets them to the image's width and height. Note that this can cause image stretching or shrinking if CSS rules specify only one image dimension.

Configuration

Enable pagespeed EnableFilters insert_image_dimensions
Disable pagespeed DisableFilters insert_image_dimensions

Risk Classification

Unclassified

Example

soon available