OK, my problem now is how to feed the image data from the ZODB photos to the factory method. If 'photo' is the original image object, I've tried photo.file (attribute error: file), photo.data (attribute error: read - line 658 of Photo.py), and other things. There must be a simple way to get the file object that manage_addPhoto() wants.


Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to