AutoFixImageSize

autofiximagesize

  • By gerritvanaaken
  • Latest release January 21, 2013 (13 years ago)

About

Auto-detects every img element and checks if the width/height attributes match the physical size of the image file. Generates a correctly sized version of the image (via phpThumbOf) and fixes the src attributes. Works especially well with TinyMCE’s image insertion.

Use the forum for feedback: http://modxcms.com/forums/index.php?topic=63212

phpThumbOf is required! http://modx.com/extras/package/phpthumbof

Installation & usage

Install via package management and be happy!

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer gerritvanaaken
  • Latest release January 21, 2013 (13 years ago)
  • First seen in SiteDash January 21, 2013 (13 years ago)
  • License GPLv2
  • MODX support 2.2 – 100.0

Releases 1 indexed release

Changelog
MODX.com

1.0.2-pl

January 21, 2013

13 years ago

<p>1.0.2 pl (2013-01-21)</p><p>– Bugfix: Get along with inline styles, additionally to HTML attributes</p><p>1.0.1 pl (2012-01-30)</p><p>– Bugfix: Get along with changed phpthumb paths in MODX 2.2</p><p>1.0.0 pl (2011-06-20)</p><p>– Improvement: Leaves wrong aspect ratios untouched, as this would be standard browser behavior</p><p>– Improvement: Ignores all dynamically generated images (all filenames with GET parameters)</p><p>1.0.0 rc3 (2011-06-13)</p><p>– Bugfix: Tolerates space characters in filename</p><p>1.0.0 rc2 (2011-06-02)</p><p>– Improvement: Resize also if only one parameter (width or height) is given</p><p>1.0.0 rc1 (2011-05-30)</p><p>– Bugfix: Skip external images, which cannot be processed via phpthumbof</p><p>1.0.0 beta3 (2011-05-20)</p><p>– Bugfix: Better RegEx for identifying image elements</p><p>1.0.0 beta2 (2011-05-20)</p><p>– Use base_path instead of $_SERVER["DOCUMENT_ROOT"] =&gt; more reliable</p><p>1.0.0 beta1 (2011-05-02)</p><p>– Bugfix: Now replacing only respective img src values, not _every_ instance of matching file name</p><p>1.0.0 alpha1 (2011-04-08)</p><p>– Initial release</p>

We've also seen 2 unverified versions of AutoFixImageSize in use, but don't list those as we've been unable of confirming they are official releases from an official source.