file upload progress bar with paperclip on heroku

◇◆丶佛笑我妖孽 提交于 2019-12-06 04:52:57

问题


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


回答1:


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)




回答2:


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



来源:https://stackoverflow.com/questions/5907898/file-upload-progress-bar-with-paperclip-on-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!