Hi Guys,
Having a problem with a HTML nugget i'm using, need some advice on the paths I need to use for my images.
This is an example of one of the images I have in my nugget, it displays on the front page find, but it doesn't appear on any other pages i.e archives, category links...
<img src="mozillabetter.gif" border="0">
What am I doing wrong?
Cheers
Dave
Image Paths
-
- Site Admin
- Posts: 378
- Joined: Tue Apr 01, 2003 11:28 pm
- Location: Berlin, Germany
- Contact:
you need to specify the absoulte path! if the html nugget is displayed in the same path, where your image is (/serendipity/ for example) it works fine, but when you're browsing an article you're in /serendipity/archives/ - your image won't show.
so set the image src to src="/serendipity/mozillabetter.gif" or whatever the path of your serendipity index page is (respectively where mozillabetter.gif resides).
so set the image src to src="/serendipity/mozillabetter.gif" or whatever the path of your serendipity index page is (respectively where mozillabetter.gif resides).