View Full Version : Help with Coppermine! Screwed up big time on coding!


Miss_Thang
08-06-2006, 03:55 AM
I made a layout for my gallery, this is actually my first time making a layout for coppermine. However, I screwed up on the coding ... BIG time! I tried but well, screwed up! Here's the coding I did:
<table width="719" height="306" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="3">
<img src="images/top_pic.jpg" width="719" height="274" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="images/bar.jpg" width="719" height="14" alt=""></td>
</tr>
<tr>
<td background="images/left_bg.jpg" width="1" height="18">
</td>
<td background="images/bg.jpg" width="717" height="18" valign="top">

<td width="100%" align="center">

{SYS_MENU}<br />{SUB_MENU}
</td>
</tr>

<td>

<tr>
<td valign="top">
{ADMIN_MENU}
{GALLERY}
<div style="text-align:center;">
<div>
{LANGUAGE_SELECT_FLAGS}<br />
{THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
{CUSTOM_FOOTER}{VANITY}
<td background="images/right_bg.jpg" width="1" height="18">
</td>
</tr>
</table>

Here's how it looks: CLICK to view Gallery (http://forevermario.com/photos/index.php)! How can I fix this? It should come out like this here (http://lauren-conrad.net/coppermine/), but I don't know, lol. I tried viewing the source But I'm still lost ... :confusion

Any help would be HIGHLY appreciated!

Miss_Thang
08-06-2006, 06:28 PM
Bleh, I've been messing with it a bit but still nothing :( Here's how my coding looks like now:

<div align="center">
<table width="719" height="306" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="images/top_pic.jpg" width="719" height="274" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="images/bar.jpg" width="719" height="14" alt=""></td>
</tr>
<tr>
<td background="images/left_bg.jpg" width="1" height="18"></td>


<td background="images/bg.jpg" width="717" height="18" valign="top">
<tr>

<td width="100%" align="center">

{SYS_MENU}<br />{SUB_MENU}
</td>
</tr>

<td>

<tr>
<td valign="top">
{ADMIN_MENU}
{GALLERY}
<div style="text-align:center;">
<div>
{LANGUAGE_SELECT_FLAGS}<br />
{THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
{CUSTOM_FOOTER}
</td>
</tr>
<td background="images/right_bg.jpg" width="1" height="18"></td>
</tr>
</table>
</div>

But if you look at my gallery (link above) it doesn't come out the way it's suppose to. Like the main "bg" .... it's just all wrong! How can I fix this ... someone please help!

Thanks :)

Miss_Thang
08-06-2006, 08:31 PM
Ok, ok so I think I got it! I just need help with getting one part of my background to show and then I believe I'm done :)

Here's the part, the code:

</td>
</tr>
</table>
</td>
</tr>
</table>

{CUSTOM_FOOTER}
</td>
<td background="images/right_bg.jpg" width="1" height="18"></td>
</tr>
</table>

</div>

I don't kno what's up ... I'm stuck kinda on what to do. It's not showing on the right ... any ideas what could be wrong or what shall I try??

Hope to hear from someone ... ;)

jeyjack
08-07-2006, 01:29 PM
Hi miss,so your problem now it's only the background? Why do you use so complex codes? for background you can just use:

<body background="images/right_bg.jpg"> and then you select dimensions for example width 1 and eight 18.

ps: I really Don't know how to show a background only on the right,I guess that to do that you must use it like a picture

bourdelson
08-07-2006, 03:00 PM
Ok, ok so I think I got it! I just need help with getting one part of my background to show and then I believe I'm done :)

Here's the part, the code:

</td>
</tr>
</table>
</td>
</tr>
</table>

{CUSTOM_FOOTER}
</td>
<td background="images/right_bg.jpg" width="1" height="18"></td>
</tr>
</table>

</div>

I don't kno what's up ... I'm stuck kinda on what to do. It's not showing on the right ... any ideas what could be wrong or what shall I try??

Hope to hear from someone ... ;)

I've never used Coppermine before, but, after reading through a couple of sites, I'm assuming that you're trying to use the custom footer feature.

Maybe this page can help you figure it out: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#customHeader

Hopefully, that can help you out. If not, maybe someone else can find more info or I can try and keep looking :)

Miss_Thang
08-08-2006, 12:52 AM
Thanks! I figured it out, though ... I have no idea how but I did :D

Thanks, though :)