brunobar79 / J-I-C

J I C is a Javascript Image Compressor using HTML5 Canvas & File API that allows you to compress your jpeg & png images before uploading to the server (100% client-side and no extra libraries required!)
http://makeitsolutions.com/labs/jic/
MIT License
857 stars 196 forks source link

Multiple File Uploads #21

Closed viditgoyal3009 closed 9 years ago

viditgoyal3009 commented 9 years ago

Please inform me how do i compress multiple images.

I have made an online gallery where people can upload multiple images at once and i want that the entire images be compressed before being uploaded.

brunobar79 commented 9 years ago

This is not an issue, It's a feature request and I don't think it's gonna be added to the library in a near future.

About your options,
1) Tweak the library to handle a queue of images. 2) Call compress and upload for each of your images.

If you end up doing 1) and you think it's cool, feel free to submit a PR. Thanks!