-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hi,
In this PR : #5528 I've wrote a workaround in order to use a S3 bucket for persisting images uploaded via ImageField. The PR is merged and released and I thank you for that ❤️ But this was just a quick workaround (my customer was waiting :) ).
I open this issue to discuss about a way to manage uploaded files with flysystem.
It could be implemented with a ImageField method setFilesystemOperator. If this method has been called, easy admin will use flysystem methods instead of Symfony\Component\HttpFoundation\File\UploadedFile methods to move the file to its target directory.
To be clear, I propose to add a totally optional feature, in easy admin user point of view. If setFileSystemOperator method is not called, easy admin will work the same way as today.
What do you think about it ?