How do I use dtml-var image tag with a string
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? Thank you J
<dtml-var "_[myURL]"> hth, Danny On Tuesday 20 November 2001 11:21, Jacob Singh 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?
Thank you J
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
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
participants (3)
-
Danny William Adair -
Jacob Singh -
Tino Wildenhain