URL('default', 'download', args=db(db.employee.email_id == 
some_id).select().first().image)

This assumes you have the standard download() function in your default.py 
controller:

def download():
    return response.download(request, db)

Anthony

On Wednesday, March 7, 2012 3:20:39 AM UTC-5, Sanjeet Kumar wrote:
>
> I have the following table :-
>
> db.define_table(('employee',
>                Field('email_id', requires = IS_EMAIL()),
>                Field('image', 'upload'))
>
> i want to show the image according to the filtration of email id. how it 
> will be possible in web2py
>

Reply via email to