Mercurial > hg > mgallery
view example.cfg @ 130:f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 01 Sep 2017 00:44:52 +0300 |
parents | bad658e1e7ed |
children | 814c422c9194 |
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> © Copyright 2015-2017 Tecnic Software productions (TNSP)" ;;; ;;; CSS / layout style ;;; css = "/mgallery/basic.css" album_icon = "/mgallery/album_sm.png" ;urchin_file = "urchin.inc.php" ; Use image from sub-album as album cover image cover_images = yes ; Use table elements? If disabled, CSS is responsible for formatting use_tables = yes ;;; ;;; 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" ;;; If you change thumbnail resolutions, you may wish to change the CSS files as well ; tn CSS selector: .galleryEntry ;tn_width = 140 ;tn_height = 100 ;tn_quality = 77 ;med_width = 800 ;med_height = 600 ;med_quality = 88