search for: listingimag

Displaying 1 result from an estimated 1 matches for "listingimag".

Did you mean: listingimage
2006 May 30
1
Can''t read from file field second time around
...s with: zero-length blob not permitted `'' On the line: img = Magick::Image.from_blob(self.image).first I am basically doing this in the controller and it fails on the second attempt - to resize and save the medium size image: if @params[:listing_image] @thumbnail_image = ListingImage.new(@params[:listing_image]) @listing = @session[:listing] @thumbnail_image.listing_id = @listing.id @thumbnail_image.image_type = "thumb" @thumbnail_image.resize if @thumbnail_image.save! @med_image = ListingImage.new(@params[:listing_i...