Plugin Directory

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.

Configuration

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
Downloads: 1,522

Average Rating

5 stars
(3 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
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 100,1,1
100,1,1
0,1,0
0,1,0
100,1,1