Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Need help with custom banner in igames theme  (Read 3129 times)

0 Members and 1 Guest are viewing this topic.

JasonR

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Need help with custom banner in igames theme
« on: April 20, 2005, 10:16:19 pm »

I've searched...and I've searched. I've spent over 8 hours on this little tid bit of my project and have come up with nothing but frustration because of my lack of knowledge and experience. Any help would be appreciated.  

I am using the igames theme and I'd like to ad my own custom banner as well as change all the colors to match my Mambo site. Right now I can't get past changing the banner, I'm not sure I'll eve get the colors changed.lol  I searched and found this thread which has been my whole starting point. http://forum.coppermine-gallery.net/index.php?topic=12583.0  I tried to insert the code that Hein offered and customize it for my image but so far, no luck. Here is my code right now.....

Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <!-- fwtable fwsrc="top_panel.png" fwbase="top_panel" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="1" -->
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td background="themes/igames/images/top_panel_r1_c1.jpg">
            <IMG SRC="coppermine/themes/igames/images/custom_banner.jpg"></td>
            <td background="themes/igames/images/top_panel_r1_c4.jpg" ><img src="../../images/spacer.gif" width="1" height="70" border="0" alt="" /></td>
          <td width="50%" background="themes/igames/images/top_panel_r1_c4.jpg" valign="center" align="right">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}&nbsp;</td>
        </tr>
      </table></td>
  </tr>


What I get is only half of my banner showing up and I also get a broken image link icon on top of it, which makes no sense to me. I've also found some odd things happening thru all my trial and error with this tid bit of code and sometimes what looks good in IE doesn't look good in Firefox? I assume once I get it all coded right though, it will work in both.

Here is my Coppermine Gallery with the error showing up right now. http://www.applebytexas.com/coppermine/ I want the banner to stretch all the way across the top of the page.  

Thanks for the help.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Need help with custom banner in igames theme
« Reply #1 on: April 21, 2005, 10:08:54 am »

Well, as you are using your own theme, and putting a lot of work into it, I suggest you don't want the theme select you currently have showing.

Your banner is cut off because the cell with the theme select is 50% wide.  You are also using your own banner as background, and trying to put it in the cell.

Try this.  Replace this code;

Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td background="themes/igames/images/top_panel_r1_c1.jpg">
            <IMG SRC="coppermine/themes/igames/images/custom_banner.jpg"></td>
            <td background="themes/igames/images/top_panel_r1_c4.jpg" ><img src="../../images/spacer.gif" width="1" height="70" border="0" alt="" /></td>
          <td width="50%" background="themes/igames/images/top_panel_r1_c4.jpg" valign="center" align="right">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}&nbsp;</td>
        </tr>
      </table>

With this code;

Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="100%" align="center">
            <IMG SRC="themes/igames/images/custom_banner.jpg"></td>
           
        </tr>
      </table>
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

JasonR

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: Need help with custom banner in igames theme
« Reply #2 on: April 21, 2005, 09:25:49 pm »

Thanks for the help! You are right about the Theme Select I had showing was left over from me just testing out which theme I wanted. Thanks for reminding me to remove it.

Awesome! The code change worked! I would like my banner shifted to the left so I replaced the <center> code. The only question I have is this....my banner is about 700 pixels wide which leaves blank space on the right in a standard XP resolution. I can easily make the banner wider in Photoshop but if I make it....say 1024 pixels wide, what will that look like if a person views my site with a res. of 800x600 or one of these larger resolutions like 1400 x 1050? I don't know of a real easy way to test my site in different screen resolutions.


Thanks again for the help. You have NO idea how many frustrating hours I spent searching and hoplessly toying with that code. :o
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.