Original image stays on server after upload
-
I have a problem with uploading images, because in order for people to upload images from their phones, usually they can weigh 2-3MB - cropping images works by itself,
but the problem is that after upload image there are two left on the server, the original one and the cropped one, which leads to quickly running out of space on the server.How to disable the option to keep the original images after upload?
-
There is no such option. I fully agree keeping an original file is not needed for many instances in production.
Good feature request.
-
-
My recommendation is compressorjs - https://github.com/fengyuanchen/compressorjs
The compression happens on the client side and we only upload the resized file. This approach saves space and reduces file upload time which is especially important on mobile.