Can't embed image from relative path

stormer - October 5, 2007 - 01:20

Hi,

I'm having trouble embedding images using a relative path:

<img src="files/assets/pdf.png" /> - this does not display the image
<img src="http://www.domain.com/assets/misc/pdf.png" /> - this does

Is there a global setting that I've missed?

Many thanks

Ole

Drupal v .52

sorry

stormer - October 5, 2007 - 01:23

the second line should have read:

<img src="http://www.domain.com/files/assets/pdf.png" />

=-=

VM - October 5, 2007 - 01:38

try : <img src="/files/assets/pdf.png" />

_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Nope

stormer - October 5, 2007 - 01:57

no joy there.

Strangely enough the theme (Gagarin) uses files/assets/clientlogo.png for the logo and has no trouble with that. Of course I've tried different images but all to no avail.

 
 

Drupal is a registered trademark of Dries Buytaert.