Wish people would stop depending on jQuery. Old browsers can default to a normal form input.
Dropzone.js - JS library for drag-and-drop file uploads with image previews
11–20 of 33 posts
Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#12For what it's worth, it seems like a lot of the other players in this space have gotten popular by providing tutorials for usage with Rails, PHP, etc.
Might be worth a few paragraphs.
Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#13This is nice. Anyone know if it will work for direct uploads to S3?
I've been playing with browser uploads for a few weeks now (including S3) and was too worried about the complexities of uploading to S3. I realized that there's nothing really fancy going on when uploading to S3. That's only true since Amazon added CORS support. Just add a few hidden form fields and you're good to go. Properly populating those fields can be a bit tricky, however. This gem will does a great job and sh…
Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#14Wish people would stop depending on jQuery. Old browsers can default to a normal form input.
Why do you wish people would stop depending on jQ? I'm just curious.
That said, it does abstract much of the crap that goes along with XMLHttpRequests and all the cross-browser idiosyncrasies that go along with it.
I'd say at this point it's a matter of personal preference and performance requirements.
Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#15Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#16Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#17Re: Dropzone.js - JS library for drag-and-drop file uploads with image previews
#18Earlier quoted context omitted.
Why do you wish people would stop depending on jQ? I'm just curious.
For one, it's heavy compared to some very simple JS and a good portion of the time you don't need the entirety of the library. That said, it does abstract much of the crap that goes along with XMLHttpRequests and all the cross-browser idiosyncrasies that go along with it. I'd say at this point it's a matter of personal preference and performance requirements.