Hmm. I had to add this line to the custom python script file=context.REQUEST.file Seems that whomever is calling the custom image_edit isn't passing a file argument... Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements