[Zope] How to use image file without image objects

Bill Anderson bill@libc.org
Sat, 06 May 2000 11:35:33 -0600


Kevin Dangoor wrote:
[...]
> > IIRC, you should enclose it in quotes? (This is why I don't use dots
> > in my imagenames...too much hassle, IMO)
> 
> Nope... That line is equivalent to <dtml-var name="foo.jpg">, and "." is
> perfectly legal in that context. If you put it in quotes, *then* you'll have
> trouble, because it would be <dtml-var expr="foo.jpg">. Python would be
> looking for the "jpg" attribute of "foo".
> 
> Kevin

Ahh, I knew there was _something_ that caused that error.
I do recall running into this problem with the PSQL Input wizard.