remove the rows x cols logic
[phpfspot.git] / phpfspot_cfg.php.dist
index 85e1752d3df5f655bcf7c6cf58bbf59fa6d98c41..b08c123dc43ac9f97e050a0a959e919fc8f25bbb 100644 (file)
@@ -58,15 +58,13 @@ class PHPFSPOT_CFG {
 
    /* don't touch if you haven't changed the base templates */
    var $thumb_width = "150";
+   var $thumb_height = "145";
    var $photo_width = "640";
    var $mini_width = "100";
 
-   /* how many columns in the photo index view */
-   var $thumbs_per_row = 4;
-
-   /* how many rows should be displayed on the photo index view */
-   /* use 0 to display all matching photos on one page */
-   var $rows_per_page = 4;
+   /* how many thumbnails should be displayed on the photo index view */
+   /* use 0 to display all matching photos on one page                */
+   var $thumbs_per_page = 50;
 
    /* Usually the photo directory differs between your local F-Spot installation
       and your webserver. With this you can advice phpfspot to replace all paths
@@ -124,17 +122,17 @@ class PHPFSPOT_CFG {
       if(!isset($this->thumb_width) || $this->thumb_width == "")
          $this->showError("Please set \$thumb_width in phpfspot_cfg");
 
+      if(!isset($this->thumb_height) || $this->thumb_height == "")
+         $this->showError("Please set \$thumb_height in phpfspot_cfg");
+
       if(!isset($this->photo_width) || $this->photo_width == "")
          $this->showError("Please set \$photo_width in phpfspot_cfg");
 
       if(!isset($this->mini_width) || $this->mini_width == "")
          $this->showError("Please set \$mini_width in phpfspot_cfg");
 
-      if(!isset($this->thumbs_per_row) || $this->thumbs_per_row == "")
-         $this->showError("Please set \$thumbs_per_row in phpfspot_cfg");
-
-      if(!isset($this->rows_per_page) || $this->rows_per_page == "")
-         $this->showError("Please set \$rows_per_page in phpfspot_cfg");
+      if(!isset($this->thumbs_per_page))
+         $this->showError("Please set \$thumbs_per_page in phpfspot_cfg");
 
       if(!isset($this->path_replace_from) || $this->path_replace_from == "")
          $this->showError("Please set \$path_replace_from in phpfspot_cfg");