*Dave S*, maybe I don't see the out-of-the-box tool. I did all what were 
suggest *Rumos* and *Val K* like I understood:
row = db().select(db.recipes.IMAGE).first()
image = '<img src="'+URL('default', 'download', args=row.IMAGE)+'"/>'
and
tables.py
db.define_table(
    'recipes',
    Field('NAME',length=512),
    Field('IMAGE','*upload*'),
    migrate=False
)
After that I don't have error, but picture is unavailable.
HTML:
<img src=
"/Recipes/default/download/%3Cfdb.fbcore.BlobReader%20object%20at%200x07E810D0%3E"
>
Also I tried do like that:
row = db().select(db.recipes.IMAGE).first()
stream = row.IMAGE
image = '<img src="'+URL('default', 'download', args=stream.read())+'"/>'
And I have that HTML:
<img src=
"/Recipes/default/download/b%27%5Cxff%5Cxd8%5Cxff%5Cxe0%5Cx00%5Cx10JFIF%5Cx00%5Cx01%5Cx01..."
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/deee5b4e-4d55-4002-8627-a066a82f2bf4%40googlegroups.com.

Reply via email to