I have an form with a textbox. in this the user insert the url of a image. When user submit, the image is importing on server. Is possible this? Is there a plugin for this? How i can do? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, dude: Yes, there are several of them, but currently I tried file_column plugin , it works for me. Br, Xi On 1月11日, 下午6时27分, Luca Roma <rails-mailing-l...@andreas-s.net> wrote:> I have an form with a textbox. in this the user insert the url of a > image. > When user submit, the image is importing on server. > > Is possible this? > Is there a plugin for this? > > How i can do? > Thanks > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
myst_tt wrote:> Hi, dude: > Yes, there are several of them, but currently I tried file_column > plugin , it works for me. > > Br, > XiThanks for the response. I using file_column. but i using it for upload files from my pc. Is possible use it with files stored in a remote server? How?? I try to replace: <%= file_column_field "user", "image" %> with: <input type="text" name="user[image]" /> but it not works -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You''d probably have to make your own Net::HTTP connection to the remote server and pull in the file that way. Be careful before saving to check the mime types etc so you''re not saving something ugly like a virus or script to your server! On Jan 11, 5:09 pm, Luca Roma <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> myst_tt wrote: > > Hi, dude: > > Yes, there are several of them, but currently I tried file_column > > plugin , it works for me. > > > Br, > > Xi > > Thanks for the response. > I using file_column. but i using it for upload files from my pc. > Is possible use it with files stored in a remote server? > > How?? > > I try to replace: > > <%= file_column_field "user", "image" %> > > with: > <input type="text" name="user[image]" /> > > but it not works > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---