7 Mar
2005
7 Mar
'05
4:42 p.m.
Chris wrote:
Hi David,
this is not the problem (tried it before).
The code foo = container.resize(context.REQUEST.image, size=size) # works nicely
at this point, try inserting: context.REQUEST.image.seek(0)
foo = container.resize(context.REQUEST.image, size=size) # 2nd time ->error does what you suggest. But it raises the same error.
cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk