Mercurial > hg > mgallery
view example.cfg @ 17:3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
cover images.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 Sep 2015 12:29:09 +0300 |
parents | 0a284f2ccc73 |
children | 59075f5e7a62 |
line wrap: on
line source
;;; ;;; MGallery example configuration ;;; ;;; Gallery title, etc. title_prefix = "My Own Gallery" title_sep = " - " page_info = "<b>MGallery</b> © Copyright 2015 Tecnic Software productions (TNSP)" ;;; ;;; CSS / layout style ;;; css_select = yes css = "/mgallery/basic.css" album_icon = "/mgallery/album_sm.png" navi_ctrl_up = "up" navi_ctrl_prev = "<< prev" navi_ctrl_next = "next >>" ; Use image from sub-album as album 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" ;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" ;tn_width = 140 ;tn_height = 100 ;tn_quality = 80 ;med_width = 800 ;med_height = 600 ;med_quality = 95