[Zope] How do I use dtml-var image tag with a string

Tino Wildenhain tino@wildenhain.de
Tue, 20 Nov 2001 12:11:27 +0100


Hi Jacob,

--On Montag, 19. November 2001 17:21 -0500 Jacob Singh <jacob@prisonbooks.org> wrote:

> So this is the deal, I have a URL stored in a database.
> This url is to an image on the site and when it gets returned I want to
> Do something like:
> <dtml-var myURL>
>
> except if I do this I just end up displaying the string instead of
> getting a dynamically generated image tag.
>
> So I tried
> <dtml-var <dtml-var myURL> >
> this of course errored.
>
> NE ideas?

<img src="&dtml-myURL;">

cheers
Tino