[Zope] Acquisation with images

Andreas Pakulat ap125@informatik.uni-rostock.de
Thu, 01 May 2003 20:23:00 +0200


--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I relatively new to Zope and got a small problem:

I have the following Site structure

Home
|-Images (only these that are shared among all folders)
|-News
|  |-Images (only these that are useful to the News only
|-...

But when I include a header from Home in a dtml-document in News I don't
get the images that are referenced there.

To illustrate this the content of index_html of News is this way:

<dtml-var standard_html_header>
blabla <img src=3D"Bilder/bg.gif"> blabla

Now the bg.gif lies under Home/Bilder and is displayed correctly, but
2 Images from the header are not displayed. Both exist and If I=20
access the Images by appending Bilder/img1.gif to the News-Url=20
I get the following error:

| Site Error
|=20
| An error was encountered while publishing this resource.
|=20
| Debugging Notice
| Zope has encountered a problem publishing your object.
|=20
| Cannot locate object at:
| http://localhost:9673/ls-dbis/News/Bilder/EckeLinksOben.gif
|=20
| Troubleshooting Suggestions
|=20
|     * The URL may be incorrect.
|     * The parameters passed to this resource may be incorrect.
|     * A resource that this resource relies on may be
|     * encountering an error.
|=20
| For more detailed information about the error, please refer
| to the HTML source for this page.
|=20
| If the error persists please contact the site maintainer.
| Thank you for your patience

How can I resolve this, or is it unresolveable? That would be very bad,
as I began to love the possibility to have common images shared among
folders wothout having N copies of it. (and without creating the img src
with dtml or script)

Andreas

--=20
Wer nicht manchmal den Verstand verliert, hat keinen.

--DocE+STaALJfprDB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sWYEuekl0h+nrMIRAq0fAKCgMtH/F17f2IJRtuGhSTKSyc7F0QCfSbMf
1I8TY8wDkMRHTdaePM9UGgw=
=EQMJ
-----END PGP SIGNATURE-----

--DocE+STaALJfprDB--