On Thursday, September 6, 2012 4:23:50 PM UTC-4, BlueShadow wrote: > > the link directs to this group Anthony. >
Yes, I know, but I noticed you're code didn't implement that solution so was wondering if you had tried it. > I didn't try: > thisImage.update_record(thumb=db.Images.thumb.store(im, filename= > 'thumbnail.jpg')) > this would store the thumb directly in the database? > No, it will rename and store the file on the filesystem (assuming that's how the "thumb" field is defined) and store the new name in the "thumb" field, just as if you did an upload with SQLFORM. Anthony --

