On Jun 3, 12:07 pm, mdipierro <[email protected]> wrote: > 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.
Specifically IE 5-7 (see http://www.websiteoptimization.com/speed/tweak/inline-images/); There are other considerations (i.e., inline in html will not cache, and so is inefficient) > > 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.htm... > > 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

