Max M wrote: > > You are right off course! > > you should use the mimetype info instead of my approach. OFS/Image.py has a useful function that can guess the filetype of a FileUpload object, I can't, however, remember what it's called... cheers, Chris