I know how to show picture as a page from memory just using like this:
import cStringIO
mStream = cStringIO.StringIO(picBin)
return HttpResponse(mStream.getvalue(),"image/jpg")
But what if I don't want to show the picture as a page, instead I want to show it within a page, say using in HTML, does someone has an idea what I should set the "src" if the picture is loaded from memory?