[Zope] Display Image Object in DTML

Tino Wildenhain tino at wildenhain.de
Wed Jun 21 04:32:48 EDT 2006


Andreas Jung schrieb:
> 
> 
> --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.
> 
This isnt even a job for ZPT or any other template language at all ;)

Regards
Tino


More information about the Zope mailing list