[ZPT] Re: ZPT digest, Vol 1 #313 - 2 msgs

Wade Leftwich wade@okaynetwork.com
Sat, 22 Dec 2001 16:11:57 -0500


Actually, I think what you really want is:
<img tal:replace=3D"structure here/encabezado" />

-- Wade Leftwich
Ithaca, NY




On Saturday 22 December 2001 12:01, you wrote:
> Date: Fri, 21 Dec 2001 21:51:12 +0100
> From: =3D?ISO-8859-1?B?R2VpciBC5mtob2x0?=3D <geirh@funcom.com>
> Reply-To: =3D?ISO-8859-1?B?R2VpciBC5mtob2x0?=3D <geirh@funcom.com>
> Organization: funcom
> To: =3D?ISO-8859-1?B?THVpcyBNYXJ07W4gQXJnYfFhcmF6?=3D <amartin@softlab.=
com.ar>
> CC: zpt@zope.org
> Subject: Re: [ZPT] problems wtih img tag
>
> Hello Luis,
> Friday, December 21, 2001, 21:06:10, you wrote:
> LMA> I can't see the image in the test view of this piece of code:
>
> LMA> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <img tal:attributes=3D"src here/en=
cabezado"
> LMA> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0src=3D"/Pruebas=
/PT/Diego/encabezado">
>
> LMA> I have proved lots of combinations without success.
> LMA> Any suggestions?
>
> I assume "encabezado" is the actual image object you want to display.
>
> <img tal:attributes=3D"src here/encabezado/absolute_url"> will probably
> get you what you want.
>
> to achieve the equivalent of <dtml-var encabezado> , you have to do
> =A0<img tal:replace=3D"here/encabezado">
>
> an image object , when called , gives you the entire img-element , not
> just the url..
>
> (hot tip : if something doesn't work , check the produced
> HTML-source.. )
>
> :-)
>
> =A0