# # Gallery configuration file # [database] # MySQL database details username = "mysqlusername" password = "mysqlpassword" host = "localhost" database = "mygallery" [gallery] # This directory is the directory containing 1 directory per category directory = "/path/to/image/directories/" # Templates can generally be left in the same directory as the gallery, # so ignore this option templates = "./" # Ignore these unless you know what you're doing. Security filters. filename_regex = "[a-zA-Z0-9][a-zA-Z0-9_\-\.\(\) ]*\.(?:jpg|jpeg)"; category_regex = "[a-zA-Z0-9][a-zA-Z0-9_\-\.\(\) ]*"; [category_index] # Width and height of the thumbnails on the index page thumbnail_width = 64 thumbnail_height = 64 # Number of thumbnails max displayed per category (index only) thumbnail_limit = 7 [image_index] # Width and height of the thumbnails on the category pages thumbnail_width = 128 thumbnail_height = 128 # Number of thumbnails per line thumbnail_per_line = 5