Proportional Image Scaling

Proportional Image Scaling Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 3,024 downloads
Proportional Image Scaling Icon

Try plugin: Proportional Image Scaling

We'll create fresh WordPress site with Proportional Image Scaling installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About 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.

0


0


0


0


0

updated: 8 years ago
since: 14 years ago
author: Markus Mayer

Description

When a user inserts an image using the visual editor, WordPress automatically sets the
width and height attributes on the image tag. Unfortunately, when the images’ width is
larger than the CSS “max-width” value, the width is capped but the height is not
affected, leading to distorted images.
This plugin either removes all height and width tags from images of a given class
(resulting in a correct “max-width” behavior) or scales them to a given width to assist
browsers in creating the layout.

Known Limiations

  • Currently, only pixel values are supported when scaling.