[Zope] dtml var image broken?
Luca Olivetti
luca@wetron.es
Tue, 09 Apr 2002 11:14:58 +0200
I'm moving some old content (a handful of pages) from zope 2.2.2 to 2.5.1b1 and using an
image in dtml-var doesn't work correctly.
In 2.2.2 an "dtml-var image" generated an url using absolute_url:
img src="http://my.zope.server:8880/image"
If the same server is accessed through apache with fastcgi, the url generated is still
correct:
img src="http://my.apache.server/zope_fastcgi_path/image"
In 2.5.1b1 it generates only the path e.g.:
img src="/image"
regardless if zope is accessed directly (the link works) or through fastcgi (it doesn't).
This bug reported for zope 2.4.x seems to be the same
http://collector.zope.org/Zope/159
but I couldn't add a comment there.
To make it work I had to resort to:
img src="&dtml.url-image"
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 Fax +34 93 5883007