TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dropzone.js - JS library for drag-and-drop file uploads with image previews

206 pointsby professorplumbover 12 years ago

14 comments

nodesocketover 12 years ago
Nice. We use jquery-filedrop, which is really simple, but does the trick.<p><a href="https://github.com/weixiyen/jquery-filedrop" rel="nofollow">https://github.com/weixiyen/jquery-filedrop</a>
luneyover 12 years ago
Just add the ability to paste an image from the clipboard (on supported browsers obviously) and its great!
评论 #5250982 未加载
nachteiligover 12 years ago
Looks pretty nice.<p>For 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.<p>Might be worth a few paragraphs.
评论 #5250965 未加载
davekinkeadover 12 years ago
Nice.<p>After dragging a file to the drop board, I couldn't remove it (FF18 OSX10.7).<p>It would be nice if I could drag off as loading the wrong file seems to require a page refresh to undo.
评论 #5250928 未加载
graueover 12 years ago
Anyone else finding that the demo is broken, particularly in Firefox on Linux? I filed an issue: <a href="https://github.com/enyo/dropzone/issues/34" rel="nofollow">https://github.com/enyo/dropzone/issues/34</a>
koopajahover 12 years ago
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!
JuDueover 12 years ago
Wish people would stop depending on jQuery.<p>Old browsers can default to a normal form input.
评论 #5251004 未加载
评论 #5248200 未加载
jwarrenover 12 years ago
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.
heyrhettover 12 years ago
on iOS 6, iphone, I get a bug where it only shows me a fraction of the image I'm uploading in the preview.<p>Does anyone know why this is? I had the same issue with jQuery-File-Upload.
评论 #5247803 未加载
评论 #5250916 未加载
pandeiroover 12 years ago
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).
BaconJuiceover 12 years ago
This is perfect, thanks for sharing!
juzfooover 12 years ago
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 :(
评论 #5250059 未加载
评论 #5251047 未加载
rajivtiruover 12 years ago
Thank god for this. So much easier to use this with Require JS instead of jQuery-File-Upload.
lancefisherover 12 years ago
This is nice. Anyone know if it will work for direct uploads to S3?
评论 #5247993 未加载