Changing Gallery logo at top (galleryLogo_sm.gif)

tawreq

Joined: 2005-10-11
Posts: 3
Posted: Tue, 2005-10-11 14:13

Hi All,

I'm brand new to Gallery 2.0, and I was wondering how I can change the image at the top of my Gallery page from the Gallery logo to something I have created.

I overwrote the galleryLogo_sm.gif file which resides in /themes/classic/images/ folder, however the image i replaced it with is of a different length (200px not 107px). Now the image I have created appears on the page but is scrunched up, as if it is assigned an absolute size.

Can anyone please help?

Regards

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-10-11 14:21

Edit /themes/classic/templates/album.tpl and save it to /themes/classic/templates/local/album.tpl

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tawreq

Joined: 2005-10-11
Posts: 3
Posted: Sun, 2010-03-21 15:10

What am I supposed to change in album.tpl to make the top left logo image not have absolute size attributes? This is my site, look at the image at the top left to see what I mean.

moderator comment Site link removed. Site is either dead or turned into spammer site.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-10-11 15:04

oops, sorry, theme.tpl not album.tpl :) Had something else on my mind.

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

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tawreq

Joined: 2005-10-11
Posts: 3
Posted: Sun, 2010-03-21 15:11

Oh ok great. I've done it and it works... just wondering, why do I have to move it to local/whats the purpose of local?

 
GrauNykho

Joined: 2005-09-13
Posts: 32
Posted: Tue, 2005-10-11 15:49

If you save all the files you have modified on a subfolder named local, firstly you will have a copy of the original files on your hard drive, and secondly if you upgrade G2 in the future you won't lose all the modifications you have made before. Interesting if you hacked your G2 installation isn't it?

 
major188

Joined: 2006-10-22
Posts: 2
Posted: Wed, 2006-11-01 11:57

Hi

I have a similar issue. However, when I change the numbers as above the picture stays the same. When I look at the source in the browser the figurs are 107 and 48.

There must be something overriding my changes.

Regards

Ken

 
di11rod
di11rod's picture

Joined: 2005-12-14
Posts: 11
Posted: Fri, 2008-12-12 20:13

If you are working on a Gallery 2.33+ site, you'll need to alter the theme.tpl file in the 'matrix' directory. Classic doesn't seem to do anything for me. Oh, and do create your local subdirectory to copy the theme.tpl file into before editing.

Thanks to the others who have responded in this thread. Certainly helped me!

Appreciatively,

di11rod