Resize images on client-side before sending it to your server
Working draft: http://magick-uploader.herokuapp.com/
It requires FileAPI and Canvas features from your client browser, which may be polyfilled using Flash bridges, such as flashcanvas and FileReader.
Your browser does all the magic. You only need to decode the base64 data sent to your server, and save it locally.
I'm not using it on production yet, but found the current implementation pretty straightforward. I'll update soon when it's production ready (but I encourage you to try it right now).
Written by Endel Dreyer
Related protips
2 Responses
nice work!
over 1 year ago
·
Holy shit! I'm stunned!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Canvas
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#