Displaying 2 results from an estimated 2 matches for "do_image_upload".
2006 Jun 01
9
Image upload
ok, im done, the plugins file_column and acts_as_attachment doesnt seems
to work for me, i want a simple thing, upload images, resize it to 216px
width, save its filename to a table and save the file to the
/public/images directory, i have searched a lot but all the examples are
too complex, im starting with rails.
If someone can post a example code for the view, controller and model(if
any)
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag ''Upload'' %>
<%= end_form_tag %>
and produces:...