Hi,
First of, thanks for your bundle!
Would it be possible to autowire the UploadHandler class?
In my case, I need to be able to override the handle_image_file method because I want to define some image_versions AND resize the original one like this:
image_versions:
'thumbnail': { max_width: 300, max_height: 170 }
'': { max_width: 1000, max_height: 5000 }
I don't want the original big sized file at all.
The method currently creates as much folders as defined versions in addition to uploading the original file without resizing it.
If UploadHandler was autowired, we should be able override all its methods with a beautiful decorator :)
A bit more complex and longer option would be to update the UploadHandler to manage both versions 'xxx' and '', would that be in your roadmap?
Thanks!
Hi,
First of, thanks for your bundle!
Would it be possible to autowire the
UploadHandlerclass?In my case, I need to be able to override the
handle_image_filemethod because I want to define some image_versions AND resize the original one like this:I don't want the original big sized file at all.
The method currently creates as much folders as defined versions in addition to uploading the original file without resizing it.
If
UploadHandlerwas autowired, we should be able override all its methods with a beautiful decorator :)A bit more complex and longer option would be to update the UploadHandler to manage both versions
'xxx'and'', would that be in your roadmap?Thanks!