jose carlos schrieb:
i'm trying to show a Image object in dtml but i don known how to do it.
i have a user object and this user have a jpg foto atributte.
this foto atributte is a instance of OFS.Image and when i try to view in
dtml only view Ascii character..
i think about to create a temporary file and then in dtml use that url
but i dont like that solution.
i would like hear any ideas..
<img src="/path/to/userobject/imageattribute" witdh="..." height="..." alt="the
If you cant access the userobject by path, a small wrapper (python script)
should do it:
then you can have above link in your HTML image tag like
which would return, when called by the subsequent browser request,
just the image data.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -