Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Proportional Image Scaling

This plugin is an attempt to prevent distorted images when a CSS max-width rule is in effect and the image is inserted using the visual editor.

Just drop the .php file into the plugins folder and activate it. It should work fine out of the box.


By default, the plugin removes all "width" and "height" attributes from images, that contain the term "wp-image-" in their class.

To enable proportional scaling, a width can be entered here. If this width is zero, scaling is disabled and the attributes are removed.

Additionally, images can be selected by terms that appear in their class attribute. It's a space separated list, so "wp-image- foo" will match against "wp-image-" and "foo". If one of these terms is missing, the image is not processed.

Requires: 2.0 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-14
Active Installs: 200+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1