Anthony i have one more question regarding this when the employee will update his image than the updated images are shown but i guess the one more problem here is the previous images are not deleted from our database so how the previous image will be deleted when the employee will update the image.
On Fri, Mar 9, 2012 at 9:11 AM, Sanjeet Kumar <[email protected]> wrote: > Thanks Anthony > > > On Wed, Mar 7, 2012 at 8:40 PM, Anthony <[email protected]> wrote: > >> 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 >>> >> >

