TS Designs
-
Posts
2 -
Joined
-
Last visited
Posts posted by TS Designs
-
-
Hey there! I've been using this module on several sites and it's great! I did notice, however, that it didn't seem to compress as much as the comparable plugin for WordPress. After doing some digging, I realized it's because it's set to retain exif data. For small images, this can increase size considerably, up to double (what would normally compress down to 40KB might be ~80KB with exif maintained).
In my site installations, I'm just manually changing line 48 in AutoSmush.module from
const WEBSERVICE = 'http://api.resmush.it/ws.php?exif=true&img=';
to
const WEBSERVICE = 'http://api.resmush.it/ws.php?img=';
Would it be possible to add this as an option in the plugin?
- 2
Auto Smush
in Modules/Plugins
Posted
Definitely not a big deal - I can just hold onto my slightly modified version of the module, especially if you're not planning to make any updates anytime soon (no need to maintain updatability).