[Zope] Accessing .gif on disk with Python Product?
Evan Simpson
evan@4-am.com
Mon, 7 Aug 2000 16:23:36 -0400
From: Martijn Pieters <mj@digicool.com>
> misc_ is a root level object. Using absolute_url you are acquiring it into
> your Instance URL, which is not necessary (and will hamper off-server
> caching). Use &dtml-SCRIPT_NAME; instead (which will give you the absolute
url
> of the root object in all cases):
>
> <img src="&dtml-SCRIPT_URL;/misc_/myProduct/chooserIcon" border=0>
I sugget using "&dtml-BASE1;", since SCRIPT_NAME doesn't work well with
virtual hosting.
Cheers,
Evan @ digicool & 4-am