Re: Create Zope file from image blob data
Sebastian Tänzer <[email protected]> Thu, 4 Nov 2010 11:44:29 +0100
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
To answer my own question: a simple str(mydata) is enough and accepted by the Zope file object. Easy :-) Am 04.11.2010 um 11:39 schrieb Sebastian Tänzer: > Hello ZMS users, > > I'm trying to create a file from the data saved in an image blob field of an existing image object. > Is there any way to do this? > > manage_addFile expects an file object and the object inside the image field is not compatbily. > How to I get the image data into the Zope file object? > > Any hints? > > Regards > Sebastian > >