view example.cfg @ 263:6a9e6277ef3c

Update example configuration.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 16 Dec 2018 17:45:00 +0200
parents 028291a78acb
children 8ce9474f41f5
line wrap: on
line source

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

; Timezone used for timestamp/date calculations.
; See http://php.net/manual/en/timezones.php
timezone             = "Europe/Helsinki"


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


;;;
;;; CSS / layout style
;;;
css                  = "/mgallery/basic.css"
album_icon           = "/mgallery/album_sm.png"
;urchin_file         = "urchin.inc.php"

; Relative path+filename to mgallery.js
js_file              = "/mgallery/mgallery.js"

; Use image from sub-album as album cover image?
; If disabled, album_icon will be always used for cover image
;cover_images         = yes


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


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

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


;;;
;;; Thumbnail/medium size image settings
;;;
;tn_path              = "tn/"
;med_path             = "med/"

;;; If you change thumbnail resolutions, you may wish to change the CSS files as well
; Supported med/tn formats are "jpeg" and "webp", depending whether your
; installation of PHP and/or ImageMagick or GraphicsMagick supports WebP.

; tn CSS selector: .galleryEntry
;tn_format            = "jpeg"
;tn_width             = 140
;tn_height            = 100
;tn_quality           = 85

;med_format           = "jpeg"
;med_width            = 960
;med_height           = 640
;med_quality          = 90