Live data from Hacker News

DropzoneJs – drag-and-drop file uploads with image previews

dropzonejs.com

11–20 of 33 posts

Re: DropzoneJs – drag-and-drop file uploads with image previews

#14

I would like to use this in a site where we print physical photos (all that exist are in flash). As soon as i select 100 images ate the same time it crashes all my browsers. (Eg: FireFox went up to 3Gb of used memory and then crashed) Try this: Use Settimeout on a loop when generating the thumbnails so the browser is more responsive when you upload dozens of large images. Also the memory usage is way too large. The G…

Would love a way to easily upload hundreds of uploads that doesn't rely on clunky methods. Have the resort to FTP then processing off that which is a PITA.

Re: DropzoneJs – drag-and-drop file uploads with image previews

#17
post #16

Thanks! I'd like an example of uploading directly to S3.

How does DropzoneJS sign the CORS upload request to S3 without having a light service running in EC2 to perform the signing request? You don't have to include AWS credentials in your JS do you?

Re: DropzoneJs – drag-and-drop file uploads with image previews

#19

I'm new with Rails but want to try this out- SO this would be an alternative to Paperclip?

1. I highly recommend trying out Carrierwave in place of Paperclip.

2. This replaces your file_fields. You'll still need something on the backend to deal with image storage and management, like Paperclip or Carrierwave.

Post reply on HN