Similar to gmail in chrome where you can press ctrl+v (cmd+v mac) to paste and if it is an image it uploads the image for you as if you just dragged a file.
I'm in the progress of developing hooks for removing (and programmatically adding) files. So this feature will be available soon. (https://github.com/enyo/dropzone/issues/36)
Pretty neat library. Any plans to connect to filepicker.io? Would love to be able to drag a file in my webapp for it to upload to filepicker automatically and haven't got the time yet to do it myself!
You're not the first criticising this about my library. I used adapters in another lib of mine (http://www.opentip.org) and it worked great, but the work involved in testing all browsers is not comparable to just using jQuery (especially when working with events). But it is definitely on my todo list (https://github.com/enyo/dropzone/issues/39).
EDIT: PS: I also chose jQuery over any other lib just because it's the most wide spread. Personally I have worked with Ender, Component, RequireJS and don't use jQuery in all my projects.
Nice, though it would be awesome if it could client-side resize images over a certain size, like Plupload does. Helps to manage people uploading 4000px wide images straight out of their camera.
I assume you mean the black bar problem? It's a bug in iOS when you try to resize images client size. There's no workaround (besides disabling client-side image processing for iOS) AFAIK.
Yes that's the bug in question. There isn't really a fix for it, but a very very ugly workaround. Look at ios-imagefile-megapixel to see how they fixed it if you want. Or you can wait a few days for my implementation will be better documented.
Hi, I'm the author of Dropzone. iOS has a bug (as already mentioned by other users) resizing images in canvas. There are workarounds, and I already started implementation (https://github.com/enyo/dropzone/commits/ios-squas). Unfortunately ios-imagefile-megapixel doesn't meet my coding standards so I didn't want to just take the code of their implementation. I will release my fix soon.
Quickly scanning the site and grepping the coffeescript source I didn't see any ajax support built in. That would make a nice option (if not the default).
always struggle trying anything related to drag n drop on my ubuntu 12.10, because the moment i drag a file on nautilus the entire sets of apps get disabled on my unity sidebar except firefox and nautilus. and even firefox doesn't open so basically am stuck :(
You can use the window pinning (not sure of the right word) to quickly move a window to take half the screen by dragging it to either side. Then you can do the same with the the other window. Once done dragging to the top will fullscreen it again.
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.
You might want to take a look at our Webscript example for doing this: https://www.webscript.io/examples/s3upload. (You can ignore the download part.) It should be trivial to use Dropzone.js instead of the normal <input> in the example HTML.
https://github.com/weixiyen/jquery-filedrop