[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: Question with custom Navbar: <img src= does not load graphics


  • From: Justin Mann  
  • Date: Tue, 09 Jan 2007 21:32:40 +0100

(Repost in ascii: the original post deleted text marked "bold")

Hi there,

When I setup a custom navbar (In Ringadmin under [customize] -> [html code]),
it will not show the graphics from the <img src="..." command.

a) For a test, I uploaded a gif picture into every ringlink directory.
b) I wrote the following demo code:

<table border="3" cellpadding="3" cellspacing="3"><tr>
<td><a href="[cgiURL]/home.pl?ringid=GegenImmobetrug;siteid=[siteid]" target="_blank"> <img src=" logo-im-info.gif" alt="WebRing Info" width="24" height="20" border="0"></a></td></tr></table> Besides of having src="logo-im-info.gif", I also tried src="/logo-im-info.gif", it will not display the graphics (only the text "webring info").

When I change the code and add the [cgiURL]/ infront of the graphic file, then it works:

<table border="3" cellpadding="3" cellspacing="3"><tr>
<td><a href="[cgiURL]/home.pl?ringid=GegenImmobetrug;siteid=[siteid]" target="_blank"> <img src=" [cgiURL]/logo-im-info.gif" alt="WebRing Info" width="24" height="20" border="0"></a></td></tr></table>

I wonder why?

The issue is: giving this code to the users is not so practical, because they should store the graphics on their local machines (instead of opening them from the webring server).

Any idea how this can be fixed (I would like to have the navbars displayed correctly)?

Thanks.
Justin.


Follow-Ups from:
Gunnar Hjalmarsson

References to:
Justin Mann
Gunnar Hjalmarsson
Justin Mann

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]