Extras catalogue

imageSlim

Latest release 13 years ago (November 2, 2013).

imageslim

  • By jgrant

About

The Image Slenderizer.

Tired of clients junking up content areas and richtext TVs with enormous images?  Simply follow these 3 easy steps!  

Download and install.  Apply a generous helping of imageSlim to the affected area: [ [*content:imageSlim] ]  Watch that excess page weight melt away.  

imageSlim scans an HTML fragment for img tags, compares each image's natural size to its desired size and if needed calls phpThumbOf to size it down.

If you've looked at AutoFixImageSize or DirectResize but ran into their limitations, give imageSlim a try today.

Read more on GitHub.

Installation & usage

Make sure you have pThumb or phpThumbOf installed.  pThumb is compatible with phpThumbOf, significantly faster and eliminates some potential problems caused by phpThumbOf bugs.Download and install imageSlim.  The installer will alert you to any potential problems with your configuration.See the GitHub page for complete documentation, or to file bug reports or feature requests.

At a glance

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

  • Developer jgrant
  • Latest release November 2, 2013 (13 years ago)
  • First seen in SiteDash November 2, 2013 (13 years ago)
  • License GPLv2
  • MODX support 2.0 – 100.0

Releases 1 indexed release

Changelog
MODX.com

1.1.3-pl

November 2, 2013

13 years ago

<p><b>v1.1.3-pl</b></p><ul><li>[<a href="https://github.com/oo12/imageSlim/issues/7" title="" rel="nofollow noreferrer noopener" target="_blank">#7</a>] Always use the cached copy of a remote image, even if it doesn't need to be altered</li><li>[<a href="https://github.com/oo12/imageSlim/issues/8" title="" rel="nofollow noreferrer noopener" target="_blank">#8</a>] Fix unwanted conversion of empty DOM nodes into self-closing tags when there's more than one in an HTML fragment</li></ul><p><b>v1.1.2-pl</b></p><ul><li>Improve identification and handling of remote images</li><li>[<a href="https://github.com/oo12/imageSlim/issues/6" title="" rel="nofollow noreferrer noopener" target="_blank">#6</a>] Fix handling of empty &amp;lt;textarea&amp;gt;&amp;lt;/textarea&amp;gt; tags</li><li>Add a use_resizer setting/property for enabling Resizer independent of the site-wide setting. imageSlim will use Resizer by default if pThumb is installed.</li></ul><p><b>v1.1.1-pl</b></p><ul><li>[<a href="https://github.com/oo12/imageSlim/issues/5" title="" rel="nofollow noreferrer noopener" target="_blank">#5</a>] If MODX is installed in a subdirectory, keep the subdirectory name from incorrectly occurring twice in the path.</li><li>On remote images, add a protocol to any protocol-relative URLs to prevent cURL from failing.</li></ul><p><b>v1.1.0-pl</b></p><ul><li><a href="https://github.com/oo12/imageSlim/issues/4" title="" rel="nofollow noreferrer noopener" target="_blank">[#4]</a> Add imgSrc property to specify a different source attribute for img tags. Data attributes for example.</li><li>Remove hotlinking checks for remote images.  I can't think of when these would actually be useful.</li><li>Add imageSlimCacheManager plugin to clean up the remote images cache on OnSiteRefresh events.</li></ul><p><b>v1.0.2-pl</b></p><ul><li>[<a href="https://github.com/oo12/imageSlim/issues/2" title="" rel="nofollow noreferrer noopener" target="_blank">#2</a>] Add a workaround for phpThumbOf isssue <a href="https://github.com/splittingred/phpThumbOf/issues/53" title="" rel="nofollow noreferrer noopener" target="_blank">#53</a>.</li></ul><p><b>v1.0.1-pl</b></p><ul><li>Fix domDocument handling of iframe, video and audio tags so they</li><li> don't become self closing.</li></ul><p><b>v1.0.0-pl</b></p><ul><li>uses cURL for remote images</li><li>adds caching of remote images and a max download time threshold</li></ul><p><b>v1.0.0-beta1</b></p><ul><li>Initial version</li></ul>

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