logo logo
 

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

logo

Started by AlphaAddict, March 22, 2006, 10:34:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AlphaAddict

Im trying to replace my cpg with a logo image removing the usual 2 lines of text at the top

sofar ive got
body {
        background-image: url("images/gradient.jpg");
        background-attachment: fixed;
        background-position: bottom;
        background-repeat: repeat-x;
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        margin: 0px;
}
#content {
        margin-right: 21em;
        margin-left: 40px;
        background-color: #eff3f6;
        padding: 1.0em;
        margin-top: 110px;
        margin-bottom:5px;
        border: 1px #eee solid;
}
#header {
        position: absolute;
        top: 0px;
        left: 0px;
        background-image: url("images/logo.jpg");
        background-position: top left;
        background-repeat: no-repeat;
        width : 600px;
        hight : 110px;

but its not showing up and the title of the windows gone
can anyone help me

Joachim Müller

Post a link to your gallery... ::)

AlphaAddict

oh right sorry
www.alphaaddict.net/gallery

Joachim Müller

Undo your stylesheet changes and just comment outbackground-image: url("images/logo.jpg");, edit http://www.alphaaddict.net/gallery/themes/reynolds/template.html, find<h1 id="header">{GAL_NAME}</h1>

<p id="tagline">{GAL_DESCRIPTION}</p>
and replace with<div id="header"><img src="path/to/you/image.jpg" border="0" width="image_width" height="image_height" alt="" /></div>

<div id="tagline"></div>

AlphaAddict

ive changed it now and it seems to be show the image in the template

http://alphaaddict.net/gallery/themes/reynolds/template.html

But its still not showing up in the gallery and the name still isnt showing

Joachim Müller

change<div id="header"><img src="images/Logo.png" border="0" width="image_width" height="image_height" alt="" /></div>to<div id="header"><img src="themes/reynolds/images/Logo.png" border="0" width="image_width" height="image_height" alt="" /></div> - you have to specify relative paths as seen from the coppermine root folder, as the template file get's parsed from there.

AlphaAddict

This is gettiong even weirder , ive changed it if you check the source of teh link above
but its still not showing up .
Ive checked the link to the image

Joachim Müller

works as expected for me - clear your cache.