Mercurial > hg > mgallery
view example.cfg @ 323:23625c53e62d
Fix CSS/JS config item array handling.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Apr 2020 12:23:41 +0300 |
parents | 8ce9474f41f5 |
children |
line wrap: on
line source
;;; ;;; MGallery example configuration ;;; ;;; Timezone used for timestamp/date calculations. ; See http://php.net/manual/en/timezones.php ; This MUST BE CONFIGURED! timezone = "Europe/Helsinki" ;;; Gallery title, etc. title_prefix = "My Own Gallery" title_sep = " - " page_info = "<b>MGallery</b> © Copyright 2015-2019 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 = "mgallery.info" ;cache_file = ".mgallery.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