diff --git a/configuration-dist.php b/configuration-dist.php index 44b522f..7f909e9 100644 --- a/configuration-dist.php +++ b/configuration-dist.php @@ -92,6 +92,11 @@ class configuration * Number of thumbnails per gallery page */ var $thumbs_per_page = 5; + + /** + * Size of the thumbnails + */ + var $thumb_size = "200px"; } ?> diff --git a/gallery.php b/gallery.php index c2196e8..158ed88 100644 --- a/gallery.php +++ b/gallery.php @@ -106,7 +106,7 @@ class gallery_manager function generate() { $sm = new strip_manager; $output = new HTML_Template_Flexy($sm->options); - $output->compile('template_gallery_default.html'); + $output->compile('gallery_'.$sm->general->template_html); $output->outputObject($this,$this->items_list); } } diff --git a/template_gallery_default.html b/gallery_template_default.html similarity index 73% rename from template_gallery_default.html rename to gallery_template_default.html index 35fb950..33eccb3 100644 --- a/template_gallery_default.html +++ b/gallery_template_default.html @@ -4,7 +4,7 @@
-