WordPress.org

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.

Which width should I enter?

When in doubt: 0.

Whats difference does it make when I enter a width?

If you enter a value of 0, the width and height attribute are removed. While this plays nicely with any CSS rules, it may be desirable to set these values in order to allow browser to lay out the page before the images are loaded. Setting a width and height allows the plugin to scale these values so they fit int the design. It's basically a setting for purists.

Can I exclude images?

Yes, by their CSS class.

Can I disable the plugin on a per-post base?

Yes, by adding [disable_image_scaling] anywhere in the post.

After editing or changing my theme, the images are distorted again

This might be due to the plugin's configuration. If a target width larger than zero, but smaller than the (new) theme's max-width value is set, the images will be scaled to the given width. Then the max-width rule caps the width again, leading again to the distortion. This is normal behavior; Either set the target width to zero in the plugins' settings (this should be fail safe), or to the matching max-width value.

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

Ratings

0 out of 5 stars

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