I am surprised to find no other entries in Drupal forum regarding an issue I experienced yesterday.
With clean-urls enabled I have discovered that if any drupal webpage has more than one arg in the url , ie http://mysite.ca/arg[0]/arg[1]/...
then images linked relative to the site don't appear.

relative link: <img  src="sites/all/themes/zen/zen/images/Angel.png" /> doesn't work
absolute link: <img  src="http://tbn2.google.com/images?q=tbn:_cKCkJsBudpciM:http://www.sciencemusings.com/blog/uploaded_images/angel-718605.jpg" /> works

When clean-urls are disabled, the images work on every pages. This hold for the different sites on my multi-site set up both locally and remote sites.

This is not a minor problem.

Please comment on this issue if you have something to say.

Comments

bcobin’s picture

I'm seeing the same behavior, except that the problem seems to appear only on /user pages, including login and register. Logged in or anonymous doesn't make a difference.

The "alt" text appears, but the image isn't "seen" by the browser. I also agree that this is not a minor problem.

Any ideas, anyone?

sunny adigarla’s picture

I have used Drupal 6.x and i haven't tried other versions. With clean URLs enabled, images are being displayed (including '/user' pages) for the code <img src="./sites/default/files/pictures/Docs/35-Ultimate-Photos-That-Are-Beautiful-015.jpg" />

jaxx0rr’s picture

since 2010 nobody bothered to look into this ?