view example.cfg @ 6:405a02586fc2

Fix handling of image files that have spaces in filename (regexp used \S, which of course does not work for that case :P)
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 30 May 2015 11:49:32 +0300
parents ac688606ec4b
children 0a284f2ccc73
line wrap: on
line source

;;;
;;; MGallery example configuration
;;;

;;; Gallery title, etc.
title_prefix         = "My Own Gallery"
title_sep            = " - "
page_info            = "<b>MGallery v0.1</b> &copy; Copyright 2015 Tecnic Software productions (TNSP)"


;;;
;;; CSS / layout style
;;;
css_select           = yes
css                  = "/mgallery/basic.css"
album_icon           = "/mgallery/album_sm.png"


;;;
;;; Important paths and urls
;;;
base_path            = "/absolute/path/to/your/gallery"
base_url             = "/base/url/"


;image_url            = "/gallery/"
;mgallery_php         = "mgallery.php"
;tn_path              = "tn/"
;format_exts          = "\.jpg|\.png|\.gif|\.jpeg"

;captions_file        = "captions.txt"
;header_file          = "header.txt"
;info_file            = "gallery.info"
;cache_file           = ".gallery.cache"
;clean_urls           = no


;;;
;;; Thumbnail/medium size image settings
;;;
;med_suffix           = ".med"
;tn_width             = 140
;tn_height            = 100
;tn_quality           = 80
;med_width            = 800
;med_height           = 600
;med_quality          = 95