[Zope] Display Image Object in DTML

Andreas Jung lists at zopyx.com
Wed Jun 21 04:05:26 EDT 2006



--On 21. Juni 2006 10:00:12 +0200 jose carlos <jcsenciales at citic.es> wrote:

> Hi all,
>
> 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.
>

Do you have the real need for using DTML? I assume you are new to Zope and 
you should really remove DTML from your memory and replace it with ZPT in 
this case. This is definitely the way to go for a newbie.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060621/d04b427c/attachment.bin


More information about the Zope mailing list