lib/settings.py
author terom
Fri, 21 Dec 2007 20:36:03 +0000
changeset 12 c2d8e9a754a1
child 13 c229bcb1de41
permissions -rw-r--r--
Major code restructuring. Version is now 0.5, templates use Mako, and the code is split off into several files under lib/
TEMPLATE_DIR = './templates'
TEMPLATE_EXT = 'html'

IMAGE_EXTS = ('jpg', 'jpeg', 'png', 'gif', 'bmp')

THUMB_DIR = 'thumbs'
PREVIEW_DIR = 'previews'
TITLE_FILE = 'title.txt'

THUMB_GEOM = (160, 120)
PREVIEW_GEOM = (640, 480)

DEFAULT_TITLE = 'Image gallery'

# how many image/page
IMAGE_COUNT = 50

VERSION = "0.5"
ROOT_IGNORE = ('lib', 'templates')