Mercurial > hg > mgallery
view example.cfg @ 140:814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Sep 2017 14:56:51 +0300 |
parents | f825d644cf7a |
children | b4751909c48f |
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? ; 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