Easy way to do ajax uploading with paperclip in rails?

旧巷老猫 提交于 2019-12-04 03:32:04

You can try remotipart(http://os.alfajango.com/remotipart). It's a gem fine integrated with Rails 3.1 and 3.0.

I have tried it, and all the ajax-file-upload handled like magic.

maxiperez

I had this problem.

Perhaps my solution is your solution

Problem paperclip with ajax

EDIT:

You'll find two versions of ajax upload on https://github.com/apneadiving/Pic-upload---Crop-in-Ajax.

Branch master: it uses http://aquantum-demo.appspot.com/file-upload

Branch uploadify: It uses Uploadify: http://www.uploadify.com/

Both have built-in Crop.

For now I think the answer to this is no. I went with the good old iframe faux-ajax upload, I think we're stuck with this until all the browser support the nice new html uploading.

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