Mercurial > hg > mgallery
view example.cfg @ 184:087df916b6b4
Cosmetic indentation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Mar 2018 13:53:40 +0200 |
parents | 4e25150aa868 |
children | cb7019690a73 |
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" ; 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 ; Use table elements? If disabled, CSS is responsible for formatting use_tables = yes ; Number of image entries per table row, if use_tables enabled album_row_limit = 6 ;;; ;;; 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