[Zope] ZPT img using attributes (newbie)

Charlie Reiman creiman@kefta.com
Wed, 15 Jan 2003 15:47:41 -0800


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Crosbie Fitch
> Sent: Wednesday, January 15, 2003 3:20 PM
> To: Zope (E-mail)
> Subject: [Zope] ZPT img using attributes (newbie)
>
>
> I got this going no problem:
>
> <img src="/logo.gif">
>
> Then I spent ages today trying to figure out why the following wouldn't
> work:
>
> <img src="/logo.gif" tal:attributes="src here/logo.gif" />

Try this:

<img src="/logo.gif" tal:replace="structure here/logo.gif">

or possibly:

<img src="/logo.gif" tal:replace="structure here/logo.gif/tag">

Since I'm new to ZPT it might be there is a reason for not doing this but...
it seems right to me.