search for: image_column

Displaying 3 results from an estimated 3 matches for "image_column".

2007 Dec 27
1
File generated with upload_column plugin
I using the upload_column plugin. In the model i insert this: image_column :image,:versions => { :thumb => ''c30x30'',:medium=>''c62x62'', :large => ''600x600'' } when i upload an image this genera 4 images: 3 images specified in :version 1 image original I don''t want the original image. Is possible se...
2007 May 28
1
upload_column problems on post after validation error
...very well but it throws an exception when I try to repost the form after a validation error. Here some details: Model: (hostel.rb) HOSTEL_PHOTO_DIR = Proc.new {|inst, attr| "hostel/#{inst.id}"} HOSTEL_PHOTO_THUMB = "100x100" HOSTEL_PHOTO_NORMAL = "400x400" image_column :photo_1, :store_dir => HOSTEL_PHOTO_DIR, :versions => { :thumb => HOSTEL_PHOTO_THUMB, :normal => HOSTEL_PHOTO_NORMAL}, :filename => Proc.new {|inst, orig, ext| "photo_1.#{ext}"} View (signup_customer.rhtml): <% uplo...
2006 Jan 12
5
file_column preview in multistage forms
i have a 2 step form which contains 1 file_column field. The second form is just "This is how your post will look" kind of form and the user can click Edit (to take them back to form1) or Submit. If the user clicks edit it takes them back to the first form with fields populated. I have it working with all text fields, I just dont know how to do this with file_column field (showing the