Hi, Im still trying to get image risizing to work in zope. Using PIL directly inside zope (using StringIO) caused an IOException with larger images. The same code works fine outside zope. Now I tried to make the resizing in independent python script. the script works without any problems, but now i am unable to write my image data into file. Does zope somehow 'hack' pyhtons memory handling? the current code is: def resize2(data): fn=tempfile.mktemp() print fn f=open(fn,"w+") f.write(data) os.system("pyhton resize.py %s 180 150 " % fn) f.close() f=open(fn,"r") newim=f.read() f.close() os.system("rm "+fn) return newim And the traceback is : Sorry, a Zope error occurred. Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addPicture) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_addPicture) File Newsitem.py, line 185, in manage_addPicture (Object: ElementWithAttributes) File Newsitem.py, line 125, in resize2 TypeError: read-only buffer, ImplicitAcquirerWrapper Could anybody give any hints? Lauri