degal/config.py
changeset 51 0f39cb5e4b11
child 57 8d06e0283b88
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/degal/config.py	Thu Jun 04 11:22:52 2009 +0300
@@ -0,0 +1,23 @@
+"""
+    Configuration
+"""
+
+class Configuration (object) :
+    """
+        Various configuration settings
+    """
+
+    # the name of the gallery
+    gallery_title       = "Image Gallery"
+
+    # recognized image extensions
+    image_exts          = ('jpg', 'jpeg', 'png', 'gif', 'bmp')
+    
+    # subdirectory used for generated thumbnails/previews
+    thumb_dir           = 'thumbs'
+    preview_dir         = 'previews'
+
+    # size of generated thumbnails/previews
+    thumb_size          = (160, 120)
+    preview_size        = (640, 480)
+