Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compress file at client-side

I want to upload a file to server, but is there any way(using javascript) to compress the image at client-side before upload?


1 Answers

Big update: in html5 you have access to a previously selected file(-list) with javascript! Detailed informations: http://www.html5rocks.com/en/tutorials/file/dndfiles/

like image 168
saegi Avatar answered Feb 20 '26 23:02

saegi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!