Hi folks,
so I implemented a small wrapper around tinyPNG enabling batch compression of images via fileEntity UI (see https://github.com/FlxAlbroscheit/Bulk-tinyPNG). In order to deepen the integration with tinyPNG I need some kind of onBeforeSaveHook invoked in image_tinypng_save, ideally providing a reference to $file and meta information on the previous and new file size. This would help me to set a flag on that file and skip it, once it has already been marked as compressed.
Is there already an implemented hook functionality like that?
Kind regards!
@see https://www.drupal.org/docs/7/creating-custom-modules/creating-drupal-7-... →
Closed: won't fix
1.6
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.