Hi, I've done a search and thought I understood how to create an image link back to the main site but all that is happening is it's taking me back to the front page of the Gallery from whichever Gallery page I'm on.
Please can someone tell me what I've done wrong here?
<div id="gsHeader">
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>
{g->theme include="progressbar.tpl"}
{else}
<div id="gsHeader">
<a href="http://www.xxxxx.co.uk/forum/index.php"><img src="{g->url href="images/galleryLogo_sm.gif"}"
width="107" height="48" alt=""/></a>
</div>
I haven't included the site name because it's a children's site. The gallery folder is in the public_html root, not the forum directory.
Posts: 16504
You might also need to change this part:
I can't see the entire if statement since that's not included, so I don't know what condition it's trying to look at to figure out the logic. Be sure to read the link at the top of the template files about editing templates.
http://codex.gallery2.org/Gallery2:Editing_Templates
You probably just need to clear Gallery's cache:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 8339
there are also easy ways to embed gallery into your site.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2