plugin-icon

Proportional Image Scaling

Par sunside·
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.
Version
1.1
Installations actives
20
Mis à jour récemment
May 22, 2016

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.
Gratuitsur le plan Business
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 4.5.33
Cette extension est disponible en téléchargement pour votre site .