How we can add a field to add image and video in the forms.

23 views
Skip to first unread message

Umar Malik

unread,
Sep 12, 2015, 4:20:57 AM9/12/15
to Ruby on Rails: Talk
Hi,
I want to add a field for image upload and video in my application using its forms.
can you help?

Colin Law

unread,
Sep 12, 2015, 9:21:18 AM9/12/15
to Ruby on Rails: Talk
I suggest starting by googling for
rails image upload

That should show you some of the options that are available.

Colin

John Lahr

unread,
Sep 12, 2015, 11:54:44 AM9/12/15
to Ruby on Rails: Talk
I'd look into gems that are incredibly helpful with this

the top 3 are

paperclip
carrierwave
dragonfly

Edsil Basadre

unread,
Sep 12, 2015, 12:33:49 PM9/12/15
to rubyonra...@googlegroups.com
Test it and you'll find the answer, then come back if there are some problem. Go go go!
--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1a48e869-483e-4efa-87c3-9136393ba5b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages