Created on 25 January 2020, over 4 years ago
Updated 5 January 2024, 6 months ago

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-... β†’

πŸ’¬ Support request
Status

Closed: won't fix

Version

1.6

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany FlxAlbroscheit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024