From: Chris Metcalfe Date: 2008-05-30T03:14:48+09:00 Subject: Ruby .read image upside down? Hi, I'm discorvering a strange issue when reading in an image being sent by a 3D rendering software. The image data is being passed in a parameter called 'thumbnail'. We read it into a variable in the responding controller like so: if params[:thumbnail] !=nil && params[:thumbnail] != "" virtual_item.thumbnail = params[:thumbnail].read virtual_item.thumbnail_content_type = params[:thumbnail].content_type.chomp end -- Posted via http://www.ruby-forum.com/.