Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Collapsible Table - Gallery Not Resizing...  (Read 4476 times)

0 Members and 1 Guest are viewing this topic.

teambajamarine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Collapsible Table - Gallery Not Resizing...
« on: February 08, 2005, 06:33:55 am »

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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Collapsible Table - Gallery Not Resizing...
« Reply #1 on: February 08, 2005, 07:06:29 am »

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

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Collapsible Table - Gallery Not Resizing...
« Reply #2 on: February 08, 2005, 07:10:06 am »

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.
Code: [Select]
<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>
Logged

teambajamarine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Collapsible Table - Gallery Not Resizing...
« Reply #3 on: February 08, 2005, 07:53:45 am »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Collapsible Table - Gallery Not Resizing...
« Reply #4 on: February 08, 2005, 08:07:45 am »

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:
Code: [Select]
<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.
Logged

teambajamarine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Collapsible Table - Gallery Not Resizing...
« Reply #5 on: February 08, 2005, 08:14:24 am »

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

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Collapsible Table - Gallery Not Resizing...
« Reply #6 on: February 08, 2005, 08:21:25 am »

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

just go to
Code: [Select]
http://www.teambajamarine.com/Coppermine/index.php?theme=YOUR_REAL_THEME
and it will set it back.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Collapsible Table - Gallery Not Resizing...
« Reply #7 on: February 08, 2005, 08:23:31 am »

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

teambajamarine

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Collapsible Table - Gallery Not Resizing...
« Reply #8 on: February 08, 2005, 08:24:39 am »

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%?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Collapsible Table - Gallery Not Resizing...
« Reply #9 on: February 08, 2005, 08:39:56 am »

If you don't know what you are changing, you shouldn't change things blindly.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.