on or about, Thursday, June 06, 2002, we have reason to believe that Antwan Reijnen wrote something along the lines of : AR> Hi all, AR> I encountered a problem when trying to generate thumbnails from large images. My code is based on a chunk from zopelabs: AR> def makeThumbnail(self, imagename, width, height): AR> # get the original large image AR> oriImage = getattr(self, imagename) AR> # convert it to a file AR> oriFile = cStringIO.StringIO(oriImage.data) doing oriFile = cStringIO.StringIO(str(oriImage.data)) worked for me.. :) for better explanations , follow the archived thread at: http://mail.python.org/pipermail/python-list/2001-July/053238.html - which addresses this specific problem -- Geir Bækholt web-developer geirh@funcom.com funcom oslo | webdev-team