[Zope] Simple (I hope) question re: images
Angie Bayley
angie_bayley@hotmail.com
Tue, 29 Jan 2002 10:55:14 +0000
Hi all,
I have what I suspect is a very simple question regarding images,
but I've had a look through the list archives and also through the
Zope book and can't track down an answer.
This is a site which is being virtually hosted; Apache and Zope
both running on the same box and Apache rewriting URLs to pass
them to Zope.
I want to keep images in a folder of their own on a Zope site
that I am creating - not too unusual - and currently I'm
referencing them from other folders as
dtml-var "images.example_gif"
(angle brackets removed to avoid confusing mail programs,
browsers etc.)
This gives me the right image, but the source code produced is
wrong; it gives
http://host.with.zope:8080/virtual.host.name/images/example.gif
whereas what I'd rather have it produce would be
/images/example.gif
or, at a pinch,
http://virtual.host.name/images/example.gif
Am I missing something blatantly obvious here, or can someone
suggest a workaround for this?
Thanks
Angie
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com