forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: shortmort37 on November 20, 2010, 05:39:32 pm

Title: Number of columns in thumbnail view
Post by: shortmort37 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
Title: Re: Number of columns in thumbnail view
Post by: Nibbler 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.
Title: Re: Number of columns in thumbnail view
Post by: shortmort37 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
Title: Re: Number of columns in thumbnail view
Post by: shortmort37 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
Title: Re: Number of columns in thumbnail view
Post by: Nibbler on November 20, 2010, 07:21:05 pm
It will be in theme.php
Title: Re: Number of columns in thumbnail view
Post by: shortmort37 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