Gallery Genius Wanted Apply Now
|
jacunivac
Joined: 2009-10-09
Posts: 3 |
Posted: Wed, 2009-11-04 17:00
|
|
I have searched the forum, read the tips and still can't tweak my Carbon Theme with a new logo. Currently it shows the lovely image missing icon. Would someone go to http://kennedyalbum.com and take a look at the source and clue me in on what is obviously wrong? I have wiped out this poor guys site twice. Good thing I made a backup. Thanks, Jac |
|
| Login or register to post comments |

Posts: 11026
First read this:
http://codex.gallery2.org/Gallery2:Editing_Templates
In theme.tpl just get rid of the Smarty call:
Change
to
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
Just looked quickly and noticed that you have the following for your logo image source:
kennedyalbum.com/images/images/Kennedy_Logo.png
Is that correct? It appears that you have the wrong path for the logo image since I can not navigate to it. Where is the image located on the webserver?
Regards,
wiggs
www.dwithers.com
Posts: 3
Thanks for the speedy reply. It is located inside the image folder inside the Carbon template folder.
Jac
Posts: 11026
No kennedy_log.png is, not Kennedy_Logo.png
On Linux systems those are 2 different files
Try changing:
{g->url href="images/Kennedy_Logo.png"}"
to
{g->url href="images/kennedy_logo.png"}"
Also, the Carbon theme has a place where you can specify a logo in it's settings. Make sure that's blank if you have edited your theme to do this. Then make sure you clear your cache:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
That did the trick. Can I change the size in theme.tpl from 107 x 48 to something larger without having to change anything else in the html code?
Terrific,
Jac
Posts: 11026
You can either remove those size settings in the HTML, or edit them to match what ever your logo size is.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
Glad you got it working. If you are planning on leaving the logo in the upper left hand corner, why not use the logo option on the theme admin page? Just wondering.
@nivekiam - good catch on the file names.
Regards,
wiggs
www.dwithers.com