I'm uploading an image field using

  Field('image','upload',label=T('Image'),autodelete=True,
    uploadseparate=True,
 
requires=(IS_NULL_OR(IS_IMAGE()),IS_NULL_OR(IS_LENGTH(128000,10)))),


The field is uploaded using a factory, so the filename starts with
no_table.image.......jpg

The file is uploaded OK. The filename appears in the "image" field OK.
When I do a query and pick the first row and then print the filename
stored in row.mytable.image it looks OK. But when I try to download
using something like this:

 
IMG(_src=URL(r=request,c='default',f='download',args=[row.mytable.image]))

I get nothing. What gives? I'm using the default download function. No
changes.

Reply via email to