Joachim Schmitz wrote:
hi,

I have a flexible Document with an image called passport. String fields I can simply render with
<span tal:content="doc/stringfield" /span>

How do I render the image ?
<span tal:replace="doc/passport ???????" /span>

That may depend on what type of image object it is. For OFS.Image and derived objects you can use:

  <span tal:replace="structure doc/passport" />


--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to