How to stream image object in Sinatra

Posted by Prakash on Stack Overflow See other posts from Stack Overflow or by Prakash
Published on 2010-04-12T11:28:10Z Indexed on 2010/04/12 11:33 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

I had uploaded images to mongoDB using GridFS. I want to retrieve an image from the db and display it in the browser. How to do this with the help of Sinatra and HAML.

© Stack Overflow or respective owner

Related posts about sinatra

Related posts about mongodb