coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: byso on April 10, 2006, 06:53:03 AM

Title: How to Add a jpg header banner to page
Post by: byso on April 10, 2006, 06:53:03 AM
If I design a jpg header/banner-logo. How do I add that to my gallery as a header/banner.

Thanks in advance.

ps. I know little of html.
Title: Re: How to Add a jpg header banner to page
Post by: Sami on April 10, 2006, 07:43:21 AM
you could add your banner by insert it on your "template.html"
for example if you select "classic"theme as a defual theme, you should change {gallery folder}/themes/calssic/template.html
you can insert these lines(you should first copy"your-banner.jpg" to image folder of your theme)

<tr>
<td><img src="themes/classic/images/{your-banner.jpg}" border="0" alt="" /></td>
</tr>

right after line 18

<table width="100%" border="0" cellspacing="0" cellpadding="0">

and also remove line 20 ,21 and 22

<td>
<a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
</td>

hope this work for you :)
Title: Re: How to Add a jpg header banner to page
Post by: byso on April 10, 2006, 08:05:59 AM
I'll try to give it a go, thankyou very much.