On Sep 9, 5:54 pm, John Chufar <li...@ruby-forum.com> wrote: > > I still cannot see how to possibly pass a blob through ajax response, so > this is the my simple (NOT effective approach) versus memory storage. >
I think the root of the problem you are grappling with is that putting an image on a page requires two http requests: one that creates an image tag with the appropriate src attribute, and then the request from the browser when it tries to display that img tag. If that isn't acceptable then there is a way of encoding the image data in the img tag your self, you basically stick <img src="data:image/bla,base64encodedimagedatahere" /> It's not supported by all browsers though ( http://en.wikipedia.org/wiki/Data_URI_scheme ) Fred -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.