Number of columns in thumbnail view Number of columns in thumbnail view
 

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

Main Menu

Number of columns in thumbnail view

Started by shortmort37, November 20, 2010, 05:39:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shortmort37

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

Nibbler

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

shortmort37

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

shortmort37

Quote from: shortmort37 on November 20, 2010, 07:00:24 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

Nibbler


shortmort37

You are correct.  It is here:

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

Case closed!  Thank you.

Dan