Send_data and ie

Has anyone else had trouble using send_data with internet explorer. As
usual things were working fine in firefox and safari until I tested in
IE :).

With the following code I’m seeing an image show up in firefox but the
“X” indicating no image found in IE. Any ideas?

@image_data = Image.find(:all, :conditions=>{:url =>
http://reddit.com”})
@image = @image_data[0].image
send_data (@image, :type => “image/jpeg”,
:filename => “foo.jpg”,
:disposition => ‘inline’)