safrazik / vue-file-agent

The most beautiful and full featured file upload component for Vue JS
https://safrazik.github.io/vue-file-agent/
MIT License
731 stars 93 forks source link

Client side resizing to reduce upload time from mobiles #119

Open alexcroox opened 3 years ago

alexcroox commented 3 years ago

Describe the solution you'd like A common requirement for file uploaders in projects when it comes to images is resizing images to a max size before uploading (usually with a hidden canvas). Mobile photos are huge these days and uploads are faster when images are pre-resized client side.

It may be out of scope for this project but thought I’d ask if it had been considered.

safrazik commented 3 years ago

Images are resized already for previews (thumbnails) See: thumbnailSize prop but the original image is used for uploading.