• First, great plugin and the recent update with background compression is a major time saver.

    On the developer API reference https://tinypng.com/developers/reference#request-options the thumb option is great for images that are set to hard crop and it would be great if we could use this method. Looks like right now the plugin will switch between fit and scale. Is it possible to get an option where we could pick this or a filter we could hook into so that we can determine on a per image size basis which method should be used?

Viewing 1 replies (of 1 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Hi Tryon,

    Thanks for your kind words!

    We don’t support the ‘thumb’ method yet, as it’s just been released in our API and we want to make sure it works as we intended.

    If you’re comfortable with editing the source code, you can trivially change the ‘fit’ method to ‘thumb’ by changing the ‘class-tiny-settings.php’ file (just search the file for ‘fit’). Note that this will be applied for all images you compress from then, and this change will be reverted if you install an update.

Viewing 1 replies (of 1 total)
  • The topic ‘Feature Request: Resize Method’ is closed to new replies.