Vasile approach (create an action to serve the blob as an image) is to be preferred because Yarko's approach is not cross-browser compatible.
Anyway, if you choose to do it the Yarko's way be careful because you need to base64 encode not urlescape. web2py provides a helper to do this http://web2py.com/examples/static/epydoc/web2py.gluon.html-module.html#embed64 On Jun 3, 11:52 am, Vasile Ermicioi <[email protected]> wrote: > Yarkos approach will work only if you store it in a blob field, but not if > image is uploaded in a directory > my approach (Massimos approach :) ) should work for both cases

