Live data from Hacker News

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

dropzonejs.com

31–33 of 33 posts

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

#31
post #3

Wish people would stop depending on jQuery. Old browsers can default to a normal form input.

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.

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

#32
post #15

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 :(

Dropzone also supports click to upload, so you do not HAVE to drag'n'drop. It's just cooler if you can ;)

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

#33
post #30
post #2

Just add the ability to paste an image from the clipboard (on supported browsers obviously) and its great!

Do you mean a button, that, when clicked, uploads the image from clipboard? ( https://github.com/enyo/dropzone/issues/38 )

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.

Another example that uses it is: http://mysticpaste.com

Just get an image in your clipboard and paste in the box

Post reply on HN