Nuxeo mailing list archives
[CPS-devel] what is the correct way to display an image
Lennart Regebro
regebro at nuxeo.com
Wed Sep 13 13:10:23 CEST 2006
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/
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.