5 Aug
2002
5 Aug
'02
1:58 p.m.
Hello zope-users, How can I add an image from ExternalMethod to zope folder? Thanks in advance Best regards, Ruslan mailto:alienoid@is.lg.ua
5 Aug
5 Aug
4:02 p.m.
New subject: [Zope] add image from ExternalMethod
Ruslan Spivak wrote:
Hello zope-users,
How can I add an image from ExternalMethod to zope folder? Thanks in advance
from OFS.Image import manage_addImage def addImage(self): manage_addImage(self, id, file) ...where id is the id of your new Image and file is an object that behave like a file (can be .read()) and has a 'filename' attribute. cheers, Chris
8645
Age (days ago)
8645
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Withers -
Ruslan Spivak