lib/settings.py
author terom
Fri, 21 Dec 2007 22:14:01 +0000
changeset 16 980825f2aeed
parent 13 c229bcb1de41
child 18 46536daf9e04
permissions -rw-r--r--
fix settings.IMAGE_COUNT back to 50, and fix image.html to link to the raw image, not itself
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')