7 Aug
2000
7 Aug
'00
8:23 p.m.
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