Jump to content

TS Designs

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by TS Designs

  1. 9 hours ago, matjazp said:

    I usually decide if I want to keep exif or not when the image is prepared for upload. But I see your point. It's possible to add an option, but I'm quite busy these days and then I'm off to a vacation... I'm not sure if this module has a potential now that we have webp?

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

  2. 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?

    • Like 2
×
×
  • Create New...