Displaying 1 result from an estimated 1 matches for "bytearrayoutputsteam".
Did you mean:
bytearrayoutputstream
2008 Apr 15
4
trouble streaming images with send_data
...d_data "os.toByteArray", :type => "image/
jpeg", :disposition => "inline", :filename => "scaledkids.jpg"
end
end
And then in the HTML file, I just point to the sendImage action from
an img tag.
Does anyone have advice on this? Should I not use the
ByteArrayOutputSteam. It seems that others have used this without
problems.
Thanks.
JB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39U...