Forum: Ruby on Rails Rails 4 - Remote upload image

97a806b9e0baea4a6b1e44401878173c?d=identicon&s=25 Giri (Guest)
on 2014-03-10 01:28
(Received via mailing list)
I have a bookmark controller.

My new.html.erb file has an input field called thumbnail url

So if someone fill that field with valid image url like, then I would like to remote upload that
image to my server.

Can someone tell me whats the easiest way to do this?
1a6375f8018799979a0d9843bbdbdd70?d=identicon&s=25 Vineeth BS (bsvineeth)
on 2014-03-10 12:51
(Received via mailing list)
Did you try paperclip ..?? It seems to be pretty straightforward to
configure and use.
You can then configure your server to do a get request on the resource
store it on your choice of storage
872535e214a9e3a98889bd8d069f0294?d=identicon&s=25 "Wolas!" (Guest)
on 2014-03-10 13:10
(Received via mailing list)
Agreed with Vineeth B S, although it could become a bit difficult to do
you might want to have a look at copyright issues.

But to accomplish, first install paperclip,,
then have a look at this post:

good luck

El lunes, 10 de marzo de 2014 01:09:24 UTC+1, Giri escribió:
97a806b9e0baea4a6b1e44401878173c?d=identicon&s=25 Giri (Guest)
on 2014-03-10 16:47
(Received via mailing list)
Thankyou guys. I'm using paperclip now and it works fine.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.