[Zope] - Image object enhancements (patch included!)
Kent Polk
kent@eaenki.nde.swri.edu
Mon, 7 Dec 1998 16:38:13
Hi Ty (Ty Sarna), in <199812072202.QAA24362@fezzik.endicor.com> on Dec 7 you wrote:
> If you go look at http://localhost/site, http://localhost/site/foo/, and
> http://localhost/site/foo/bar/, your browser will need to download
> http://localhost/site/logo, http://localhost/site/foo/logo, and
> http://localhost/site/foo/bar/logo. It doesn't know that they're the same
> object, since they're differently-named.
>
> The __str__ method on images really needs to figure out the true
> absolute path of the object and use that. (like <IMG SRC="/site/logo">)
I'm a bit worried that this will tend to break acquisition behavior
in general. For these types of problem, I'd tend to just specify the
absolute URL in the reference. Deals with the problem without having
to change acquisition.
Kent