Plugin Directory

Test out the new Plugin Directory and let us know what you think.

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 works, it may be desirable to set these values in order to allow browsers 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: 4.5.5
Last Updated: 8 months ago
Active Installs: 100+


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