Header Image Not Showing

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Header Image Not Showing

Post by cAdams »

Using GB 1.7, I've since renamed my header gif and changed my background png.

I uploaded both but now the newly named header gif won't display. The new png image displays beautifully.

body{margin:11px; padding:0; background-image:url(images/lens.png); background-repeat:repeat-x; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:12px; color:#000000;}

#gbook_header{margin-left:915px; background-image:url(images/cmafoto header.gif); background-repeat: no-repeat;}


As suggested in another thread, I changed the header.txt file to include the renamed gif but it still won't show itself. Same gif image just a different name :evil:

Any other suggestions pls :?
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Header Image Not Showing

Post by Henrie »

I have not tested, but I think the problem might be that there is a space in the name of the gif file.
Replace the space with an underscore,

Code: Select all

#gbook_header{margin-left:915px; background-image:url(images/cmafoto_header.gif); background-repeat: no-repeat;}
or place the name between double quotes

Code: Select all

#gbook_header{margin-left:915px; background-image:url("images/cmafoto header.gif"); background-repeat: no-repeat;}
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Header Image Not Showing

Post by cAdams »

Thanx Henrie.

Your second suggestion to include double quotes worked :D

Why the png image doesn't need the same formatting is why technology is beyond me in instances like this :P
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Header Image Not Showing

Post by Henrie »

cAdams wrote:Why the png image doesn't need the same formatting is why technology is beyond me in instances like this
That is because the filename of the png file images/lens.png contains no spaces.

And the first solution does work, you just have to also rename the filename to cmafoto_header.gif . I forgot to write that in the solution :wink: .

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply