简体   繁体   English

在Heroku上使用回形针的文件上传进度栏

[英]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 应用程序在Heroku上,文件在S3上

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 我将使用不需要Flash,仅使用JavaScript且与所有浏览器(包括IE6)兼容的jQuery文件上传: 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 我在Wiki中编写了该教程,并在此处制作了一个示例应用程序: https : //github.com/apneadiving/Pic-upload---Crop-in-Ajax

Using both jQuery File Upload and Uploadify (on in each branch) 同时使用jQuery File Upload和Uploadify(在每个分支中)

I have written a blog post about using rails 4 with paperclip and uploadify. 我写了一篇有关将Rails 4与回形针和uploadify一起使用的博客文章。

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

Paperclip already supports aws api and files can be stored on S3. 回形针已经支持AWS API,并且文件可以存储在S3上。 If you have plans of using dropbox take a look at this gem https://github.com/janko-m/paperclip-dropbox 如果您有使用Dropbox的计划,请查看此gem https://github.com/janko-m/paperclip-dropbox

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM