Thumbnail generations and shell
tgoeminne opened this issue · 3 comments
tgoeminne commented
Hi,
I have a question,. If I understand correctly the thumbnail generation is removed and have to use the transformer now as per example?
When making the changes and adding the transformer, how would you mass generate the thumbnails for previously added files easily?
Greets,
Thomas
davidyell commented
In this instance I wrote a shell command to parse the file system, instantiate an instance of the transformer, do the thumbnails and save them back to the file system.
tgoeminne commented
Can you share the shell script?
davidyell commented
Sure, it's written for a different plugin though.
https://github.com/davidyell/CakePHP3-Proffer/blob/master/src/Shell/ProfferShell.php