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: Number of columns in thumbnail view  (Read 3416 times)

0 Members and 1 Guest are viewing this topic.

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Number of columns in thumbnail view
« on: November 20, 2010, 05:39:32 pm »

I've changed the number of columns in thumbnail view from 4 to 5, and saved it; I go back into my config settings, and I see that the setting persists, yet I still present only 4 columns.  I log out and back in to see if it makes a difference; it does not.  I go back into config, and it's set back to 4.

Here's my site:  http://www.59sportfury.net/coppermine/

It would be sweet if the number of thumbs in a row could adjust dynamically to the width of the browser, to accomodate the different sizes of user screens.  Is there a mod for that?

adTHANKSvance
Dan
Logged

Nibbler

  • Guest
Re: Number of columns in thumbnail view
« Reply #1 on: November 20, 2010, 05:56:49 pm »

I see 5 columns. Maybe you are using a theme that specifies 4 columns for design reasons.
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Number of columns in thumbnail view
« Reply #2 on: November 20, 2010, 07:00:24 pm »

I believe you are on to it.  I'm using Andre's prorandom theme (although, I've disabled the rotating header and logo).  If I set it to 5 columns in the config and immediately switch to the curve theme, I see 5 columns in the presentation.  If I then set it back to the prorandom theme, it reverts back to 4 columns - and, the config reflects this.

Perhaps its an attribute of using wrapper_variable.css instead of wrapper_static.css in my stylesheet.  I will investigate that and report back.

Thanks
Dan
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Number of columns in thumbnail view
« Reply #3 on: November 20, 2010, 07:08:42 pm »


Perhaps its an attribute of using wrapper_variable.css instead of wrapper_static.css in my stylesheet.  I will investigate that and report back.


Apparently not - with either flavor, I always present 4 columns.  Maybe it's adjustable within the theme itself - I'll wait to see if Αndré will comment before I resolve this.

Thanks
Dan
Logged

Nibbler

  • Guest
Re: Number of columns in thumbnail view
« Reply #4 on: November 20, 2010, 07:21:05 pm »

It will be in theme.php
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Number of columns in thumbnail view
« Reply #5 on: November 20, 2010, 07:28:30 pm »

You are correct.  It is here:

Quote
$CONFIG['thumbcols'] = 4; //overrides the number of columns for thumbnails.

Case closed!  Thank you.

Dan
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.