Monday, September 3, 2007

How to Change Gallery Logo

You can change gallery logo very easy.

Copy file .../gallery2/themes/" your theme name "/templates/theme.tpl to the "local" folder and edit that file there. Gallery will look for that file in the "local" folder first and use it if it exists.

I changed logo only in matrix theme.

From:
<div id="gsHeader">
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>

To:
<div id="gsHeader" align="center">
<img src="{g->url href="images/MyWebsiteAdviser.gif"}" width="750" height="70" alt="www.MyWebsiteAdviser.com Logo"/>
</div>

You can also set a logo image as a link, for example:
<a href="http://www.MyWebsiteAdviser.com"><img src="{g->url href="images/MyWebsiteAdviser.gif"}" width="750" height="70" alt="www.MyWebsiteAdviser.com Logo"/></a>

See my example: Gallery Example.

Repeat on other themes you want to change logo.
And ... don't forget to upload your logo image to the "images" folder (located in root folder of Gallery).

Alex Webs,
Create Online Gallery.