[TYPO3-dev] FAL driver: Generate preview images

Helmut Hummel helmut.hummel at typo3.org
Fri Jul 11 11:00:04 CEST 2014


Me again.

On 11.07.14 10:46, Helmut Hummel wrote:

> To provide such API was planned for 6.2[1] but unfortunately not fininished.

There is a signal in FileProcessingService which I used a while ago:

$this->emitPreFileProcessSignal($processedFile, $fileObject, $taskType, 
$configuration);

It is however quite painful to use it as lot of code from 
FileProcessingService needs to be copied to your own processor[1]

This code I wrote is not very nice, but it roughly did the job and maybe 
gives you some inspiration how you could approach this task without 
having nice API in place.

Kind regards,
Helmut

[1]https://gist.github.com/helhum/e4a6cbdfd18c4f2f59f7

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list