Ruby on Rails Tuesday, April 29, 2014

You want to use paperclip for handling files and rails 4 as framework. All you need is the implementation for uploading multiple images.

There are many javascript plugins out there if you want go for JS way. Following are some easy to integrate plugins:

  1. jQuery File Upload => http://blueimp.github.io/jQuery-File-Upload/
  2. Plupload => http://www.plupload.com/

Or you can use plupload_rails3 gem https://github.com/codeodor/plupload-rails3.

Which is easy to integrate and usages Plupload gem.

Following are some links which may help you:

  1. http://5minutenpause.com/blog/2013/09/04/multiple-file-upload-with-jquery-rails-4-and-paperclip/
  2. http://ikbenbitterzoet.com/2010/09/18/multiple-file-upload-with-plupload.html
  3. http://spin.atomicobject.com/2011/10/31/upload-files-directly-to-s3-with-plupload-rails-and-paperclip/
  4. http://amgrade.com/blogs/thoughts/multiple-files-upload-rails

Regards,
Lauree
(Ruby on Rails Developer)



On Tuesday, April 29, 2014 2:40:37 AM UTC+5:30, Eugeniu Tambur wrote:
Hello, I'm learning rails and creating a small project, 
Someone could tell me how can I upload multiple images with paperclip in rails 4? 

Thank you very much, I hope someone can help me. 
Greetings.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aee138a6-0112-4fee-8168-2781bd420666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment