Chanfing 107pxLogo Chanfing 107pxLogo
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Chanfing 107pxLogo

Started by zebraplayer, October 13, 2004, 08:27:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zebraplayer

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.

Nibbler


zebraplayer


Joachim Müller

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 <img src="../my_pics/my_logo.gif" border="0" width="107" height="50" alt="my logo text" />

Joachim

zebraplayer

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.

Joachim Müller

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:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fgroup101clt.netfirms.com%2FGroup101Actors%2Fnfpicturepro%2Fthemes%2Fwater_drop%2Fimages%2F107pxLogo.gif&hash=8c9d32861068a145f203a419dd0c3cd13ab7e50c)
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 findh3 {
        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

zebraplayer

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.

Joachim Müller

edit themes/water_drop/style.css, findh3 {
        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 withh3 {
        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 <h3>{GAL_DESCRIPTION}</h3><br />and replace with <h3>{GAL_DESCRIPTION}</h3>
<img src="themes/water_drop/images/107pxLogo.gif" border="0" width="104" height="85" alt="some text" />
<br />
or even <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

zebraplayer

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.