Add Custom Banner or Remove Gallery Logo - Works only on main page

zyfert

Joined: 2008-04-17
Posts: 15
Posted: Wed, 2008-05-14 00:55

I have replaced the Gallery logo with my own but it only works on the main page.
When an album is selected then only the alt text appears, also the top of the page resizes smaller.
I am using the carbon theme on the current insatllation.
I tried to follow the instructions given but the carbon theme code is slightly different.
Also when I try to point to my site in the second instance, I cannot get it to work.
Thank you.
Site: http://www.terrific-traffic.com/opal
This is my code replacement in theme.tpl:
<div id="gsHeader">
{if !empty($theme.params.logoImageLocation)}
<img src="{$theme.params.logoImageLocation}" alt=""/>
{else}
<img src="images/Boulder Opal through a Microscope 1.jpg"}" width="422" height="60" alt="Boulder Opal Images - Home Page"/>
{/if}
</div>
{g->theme include="progressbar.tpl"}
{else}
<div id="gsHeader">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" width="50%">
<a href="{g->url}">
{if !empty($theme.params.logoImageLocation)}
<img src="{$theme.params.logoImageLocation}" alt=""/>
{else}
<img src="images/Boulder Opal through a Microscope 1.jpg"}" width="422" height="60" alt="Boulder Opal Images - Home Page"/>
{/if}
</a>
</td>
<td align="right" valign="top">
{g->theme include="ads.tpl"}
</td>
</tr>
</table>
</div>

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-05-14 01:10

put the full url to the image
http://www.terrific-traffic.com/opal/images/Boulder%20Opal%20through%20a%20Microscope%201.jpg

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
zyfert

Joined: 2008-04-17
Posts: 15
Posted: Wed, 2008-05-14 01:56

Thank you very much, works now.
Cheers.