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 @@ - {general.title} - {title} + {general.title} @@ -21,7 +21,8 @@ +
{foreach:items_list,id,strip} -
- + + +
-
-{end:} + {end:} +

{lang.forum}

diff --git a/style_default.css b/style_default.css index 123700c..fd5262e 100644 --- a/style_default.css +++ b/style_default.css @@ -41,6 +41,7 @@ a:hover { border-bottom:thin solid black; margin-top:1em; padding-bottom:1em; + clear:left; } #title { font-size:large; @@ -58,6 +59,7 @@ a:hover { .stripbox { border:1px solid black; background-color:white; + float:left; } #strip {