Really? Do you really think there isn't a reason why I am not just using an image_tag? Really?
The image is protected and I have been given access to pull it from my web server to use in my app. Looking for help in answering my original post please. Thanks. On Jun 6, 8:52 pm, Hassan Schroeder <[email protected]> wrote: > Sorry, I originally thought this was to the ruby list... > > On Sun, Jun 6, 2010 at 8:17 PM, Kim <[email protected]> wrote: > > I am asking how to turn the JPEG IO stream into an image I can pass on > > and display in a view. > > def index > > result = Net::HTTP.get_response(URI.parse('http:// > > link_to_image.jpg') ) > > index.html.erb > > @image = pretty picture > > Uh, why not just use an image_tag with the URL of the image?? Why > are you even using Net::HTTP ? > > -- > Hassan Schroeder ------------------------ [email protected] > twitter: @hassan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

