[Zope] How to use image file without image objects

Bill Anderson bill@libc.org
Fri, 05 May 2000 05:23:06 -0600


Timothy Wilson wrote:
> 
> On Thu, 4 May 2000, Sudhir Kumar wrote:
> 
> > How do I refer to image file in dtml documents without creating
> > image objects.
> 
> Using a standard <img src="/Images/foo.jpg"> works in Zope pages. The
> advantage of using image objects is that you can "acquire" those images in
> subpages and the <dtml-var foo.jpg> takes care of height and width tags
                             ^^^^^^^

Will likely return a key error.

IIRC, you should enclose it in quotes? (This is why I don't use dots
in my imagenames...too much hassle, IMO)