forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: zebraplayer on October 13, 2004, 08:27:30 pm

Title: Chanfing 107pxLogo
Post by: zebraplayer on October 13, 2004, 08:27:30 pm
I want to change the 107pxLogo to something else, which I have done by replacing it with another logo called the same thing. However, I would like to add a link to my website's homepage and an alt= statement, but I can't find the page that calls that logo up.

Could someone tell me what the name of that page is?

I have looked in:

template.htm
theme.php
index.php

and other that I am too embarrased to admit I looked in, because it makes no sense that I would.

I've also looked in the FAQs and the documentation, but I found nothing on it.

Thanks in advance.
Title: Re: Chanfing 107pxLogo
Post by: Nibbler on October 13, 2004, 08:39:01 pm
What theme are you using ?
Title: Re: Chanfing 107pxLogo
Post by: zebraplayer on October 13, 2004, 09:53:20 pm
water drop
Title: Re: Chanfing 107pxLogo
Post by: Joachim Müller on October 14, 2004, 04:59:51 am
edit themes/rainy_day/template.html with a plain text editor and add the html for your logo there (rainy doesn't come with a logo in the first place, so I can't post instructions what to replace exactly. You'll have to find a nice spot where to add your logo somewhere on the page). Remember that the reference to the image source has to be seen relative to the coppermine root folder, not the rainy_day folder. If the image you want to include is located at http://my_site.tld/my_pics/my_logo.gif and your coppermine install is at http://my_site.tld/my_coppermine_folder/ , the html should look like this
Code: [Select]
<img src="../my_pics/my_logo.gif" border="0" width="107" height="50" alt="my logo text" />
Joachim
Title: Re: Changing 107pxLogo
Post by: zebraplayer on October 14, 2004, 06:04:57 am
I'm a bit confused. If Water Drop (I'm not using Rainy Day) does not come with a logo, where is the one I had to replace come from.

There was a logo in the themes/water_drop/images folder called 107pxLogo.gif. My initial way of fixing this was to replace that exisiting logo with my logo by naming my logo 107pxLogo.gif and overwriting the file already there.

My question is, in what file is that logo called? It is called somewhere because it appears right there on my gallery; right at the top.

Yet, as I've said, I cannot find it either in the template.htm file, the theme.php file, nor the index.php file. And, yes, I am looking in the themes/water_drop folder.

Here's a link to my site so you can see for yourself http://group101clt.netfirms.com/Group101Actors/nfpicturepro/index.php

It's really weird because, even if you try to right-click the image, it doesn't see it as a graphic at all.
Title: Re: Chanfing 107pxLogo
Post by: Joachim Müller on October 14, 2004, 06:23:49 am
k, sorry - I wasn't reading carefully enough. Should have been "Edit themes/water_drop/template.html" then (although the water drop theme doesn't come with a built-in logo either).
The pic you're refering to has been integrated by you or someone who designed the page for you as background image:
(http://group101clt.netfirms.com/Group101Actors/nfpicturepro/themes/water_drop/images/107pxLogo.gif)
If you can't find it in template.html, it get's inserted someplace else, but then this is not the "standard" way of doing so. Ask the person who designed the page for you (if this is actually your page). I don't quite understand your question - you claim this is your page, and you have some (pretty nifty, I must confess) code in it. The pic actually get's inserted into the page by a style sheet trick, edit themes/water_drop/style.css and find
Code: [Select]
h3 {
        font-weight: bold;
font-variant:small-caps;
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 24px;
        color:D40E0E;
        margin: 2px;
background-image : url(images/107pxLogo.gif);
        background-repeat : no-repeat;
background-position:top;
padding-top:85px;

Joachim
Title: Re: Changing 107pxLogo
Post by: zebraplayer on October 14, 2004, 06:56:17 am
Ahh! Thanks for looking into it.

But I guess that means I cant add the alt= statement here, can I? I guess the thing to do with be to delete the code in the css.php and add it in the template.htm the way you first suggested it.

Now, although I would like to take credit for the nifty code, the service of giving me a gallery comes to me courtesy of my ISP. Really courtesy of Coppermine, but they install it on their clients' server space at the click of a link.

So, whatever adaptations they have done to the code is completely to their credit. Now, if I want to add mods and stuff like that, I'm entirely on my own. That's why I appreciate you guys helping out.

I love the flexibility to costumize this great app, but I confess, I know very little about how to get what I want.
Title: Re: Chanfing 107pxLogo
Post by: Joachim Müller on October 14, 2004, 07:24:52 am
edit themes/water_drop/style.css, find
Code: [Select]
h3 {
        font-weight: bold;
font-variant:small-caps;
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 24px;
        color:D40E0E;
        margin: 2px;
background-image : url(images/107pxLogo.gif);
        background-repeat : no-repeat;
background-position:top;
padding-top:85px;
and replace with
Code: [Select]
h3 {
        font-weight: bold;
font-variant:small-caps;
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size: 24px;
        color:D40E0E;
        margin: 2px;

Then, edit themes/water_drop/template.html, find
Code: [Select]
<h3>{GAL_DESCRIPTION}</h3><br />and replace with
Code: [Select]
<h3>{GAL_DESCRIPTION}</h3>
<img src="themes/water_drop/images/107pxLogo.gif" border="0" width="104" height="85" alt="some text" />
<br />
or even
Code: [Select]
<h3>{GAL_DESCRIPTION}</h3>
<a href="/Pages/home.htm">
<img src="themes/water_drop/images/107pxLogo.gif" border="0" width="104" height="85" alt="back to home page" />
</a>
<br />

Joachim
Title: Re: Changing 107pxLogo
Post by: zebraplayer on October 14, 2004, 08:08:26 am
You're a trooper, man. Thanks. I promise to make a few more changes to the board and then leave it alone. Thus leaving you alone as well.