Mercurial > hg > mgallery
view example.cfg @ 109:c8cfc6cc161a
Adjust image scaling to be delayed and not being done on each resize event
(for example Firefox fullscreen switching animates by default and triggers
LOTS of resize events, which makes things slow.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 30 Oct 2016 15:22:03 +0200 |
parents | 71de97240799 |
children | 9da8bab49711 |
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-2016 Tecnic Software productions (TNSP)" ;;; ;;; CSS / layout style ;;; css_select = yes css = "/mgallery/basic.css" album_icon = "/mgallery/album_sm.png" ;page_urchin = "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