OK - Quick follow up here - I was able to display an blob image using the 
call:

def list_image():

   myid = 1    # test
    image=db(db.xim.id==myid).select(orderby=db.xim.title)
    response.headers['Content-Type']='image/jpeg' 
    
    mystream = image.image_blob
    return mystream

However this renders an image in separate page with no additional info. 
What I really want is to display the stream as part of a template (within 
 a table) with additional related image info (Title, Comments etc). IOW I 
want to embed the stream within an html template, rather than as a 
separate, standalone file.

Am I missing piece of the puzzle here?


Reply via email to