Feature #70858
closedAdd possibility to "hook" into the processing chain
0%
Description
It should be possible to hook into the processing chain so you can manipulate the result of processed files.
For instance to:- change the filename of the processed file
- watermark all processed files
Updated by Charles Coleman about 9 years ago
I wholeheartedly second this feature request. This is something that I could have use on several client sites yesterday.
Updated by Riccardo De Contardi almost 8 years ago
- Target version changed from 8 LTS to 9.0
Updated by Susanne Moog almost 6 years ago
Basically this is already prepared, but the registry / evaluation part is missing. There is a `ProcessorInterface` which is currently only implemented by the `LocalImageProcessor` which is then directly used in `\TYPO3\CMS\Core\Resource\Service\FileProcessingService::process` - at that place there should be a chain of processors instead with configured task types and priorities.
Updated by Susanne Moog almost 6 years ago
- Related to Task #67754: Cleanup "crop" implementation added
Updated by Benni Mack almost 6 years ago
- Related to Epic #88027: Properly handle Hooks/Signals and Events added
Updated by Benni Mack over 1 year ago
- Status changed from New to Needs Feedback
Hey,
I looked into it and we have two PSR-14 events:- BeforeFileProcessingEvent
- AfterFileProcessingEvent
they allow for doing anything you want - call your own processor, chain them, and then really not process the TYPO3 default way.
I don't know if we need even more here, what do you think?
Updated by Christian Kuhn about 1 year ago
- Status changed from Needs Feedback to Closed
Hey. Closing here for now: In case the given events are not enough, we could add further things with a more specific fresh issue.