I'm new to php, and needed a photo gallery for my website, so downloaded the latest version of Flat Gallery. I've managed to integrate it into my website without a problem. However, I need to limit the number of columns and rows, and made the necessary changes in flatgallery.class.php. Essentially I've changed the following varibales to have the following values - var $__cols=4; / var $__rows=3;. The problem is, I dont get 4 columns. Is this a known problem, is the minimum number of cols 5, or have I done something wrong?
Any help given is greatly appreciated.
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm new to php, and needed a photo gallery for my website, so downloaded the latest version of Flat Gallery. I've managed to integrate it into my website without a problem. However, I need to limit the number of columns and rows, and made the necessary changes in flatgallery.class.php. Essentially I've changed the following varibales to have the following values - var $__cols=4; / var $__rows=3;. The problem is, I dont get 4 columns. Is this a known problem, is the minimum number of cols 5, or have I done something wrong?
Any help given is greatly appreciated.
Steve
It seems the place to set the number of rows and cols is in index.php, not in flatgallery.class.php.