Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

file upload progress bar with paperclip on heroku

I need to show a progress bar for file uploads and i have no idea. Any help will be appreciated.

Application is on Heroku and files are on S3

like image 694
rails101 Avatar asked May 06 '11 07:05

rails101


2 Answers

I'd use jQuery file upload which doesn't require flash, only javascript and is compatible with all browser (including IE6): https://github.com/blueimp/jQuery-File-Upload

I wrote the tutorial in the wiki and made a sample app here: https://github.com/apneadiving/Pic-upload---Crop-in-Ajax

Using both jQuery File Upload and Uploadify (on in each branch)

like image 196
apneadiving Avatar answered Oct 02 '22 15:10

apneadiving


I have written a blog post about using rails 4 with paperclip and uploadify.

http://vignesh.info/blog/rails-4-uploadify-paperclip/

Paperclip already supports aws api and files can be stored on S3. If you have plans of using dropbox take a look at this gem https://github.com/janko-m/paperclip-dropbox

like image 25
Vignesh Avatar answered Oct 02 '22 14:10

Vignesh