[Zope-CMF] printing archetypes imageField

mulamba kamahunda kam_mulamba at yahoo.fr
Sat Jan 10 06:00:25 EST 2004


I try to have an archetypes image printed on my page.
When i do this
<div tal:content="python: resultObject.getImage1()">
  </div>
The page is generated  without the image but with the
HTML code
<img src="http://url of the image" >

When i tried to access the image with a python script
like this:
image1 = object.getImage1()
  print " image1 = "+image1+ "\n"

I get the error cannot add type
"ImplicitAcquiredWrapper" to string
Any Idea?

_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the Zope-CMF mailing list