On Jun 3, 11:52 am, Vasile Ermicioi <elff...@gmail.com> 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
What Vasile showed requires that the image file is in the downloads folder (regardless if it is also stored as a blob or not). If you have a file, you can render it by a link (as normal, but you must be sure to have the web2py-obfuscated name for the uploaded file). If you have _only_ database, or are generating images / graphs on the fly, try some version of the inline data approach. - Yarko