lib/settings.py
author terom
Fri, 21 Dec 2007 21:19:01 +0000
changeset 15 0fe851a29bc6
parent 13 c229bcb1de41
child 16 980825f2aeed
permissions -rw-r--r--
detool.py, meant to be a collection of utility operations, currently lets you move images and their html/thumb/preview files at the same time
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 = 10

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