Collapsible Table - Gallery Not Resizing... Collapsible Table - Gallery Not Resizing...
 

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

Collapsible Table - Gallery Not Resizing...

Started by teambajamarine, February 08, 2005, 06:33:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

teambajamarine

I have customized my GALLERY to match my website, however I cant seem to figure a way to get the main table to resize or collapse depending on screen size. Its stuck at one size, any tips? I have played for hours with no results.

Here is the link to the site...
http://www.teambajamarine.com/Coppermine/index.php

Tranz

In Config, use a percentage value for this:  Width of the main table (pixels or %)

donnoman

You also have some specific pixel widths specified in your html.

This isn't coming from coppermine, so it's either in your template.html or your custom includes.

<table width="1252" border="0" cellpadding="0" cellspacing="0" height="1683">
  <tr>
    <td height="1663" valign="top" width="124"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>

teambajamarine

What do you think would be the solution to have it resize according to viewers size of screen? I appreciate the help gang.

Tranz

It does seem like an issue with the theme you are using. If you look at the default theme, the table resizes according to the window size:
http://www.teambajamarine.com/Coppermine/index.php?theme=classic

This is probably the culprit:
<table width="1252"

If not, you need to do a search for "width" in the code and see if the values are approximately the size of the table.

teambajamarine

Well This is interesting, how is my board stuck in the CLASSIC THEME?

donnoman

if you clicked this link
Quotehttp://www.teambajamarine.com/Coppermine/index.php?theme=classic
it saved that theme  in your cookie.

just go to http://www.teambajamarine.com/Coppermine/index.php?theme=YOUR_REAL_THEME

and it will set it back.

Tranz

theme=xxx wil also give you the default, if you don't recall what your theme is called.

teambajamarine

Very weird. But kool you can do that. Here is an idea and I ask to see if you think this might work, I just looked at the HTML for the classic theme, and what if I changed all my WIDTH numbers to 100%?

Tranz

If you don't know what you are changing, you shouldn't change things blindly.