Mercurial > hg > mgallery
comparison example.cfg @ 263:6a9e6277ef3c
Update example configuration.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 16 Dec 2018 17:45:00 +0200 |
parents | 028291a78acb |
children | 8ce9474f41f5 |
comparison
equal
deleted
inserted
replaced
262:3c9ce1ad3c45 | 263:6a9e6277ef3c |
---|---|
23 ; Relative path+filename to mgallery.js | 23 ; Relative path+filename to mgallery.js |
24 js_file = "/mgallery/mgallery.js" | 24 js_file = "/mgallery/mgallery.js" |
25 | 25 |
26 ; Use image from sub-album as album cover image? | 26 ; Use image from sub-album as album cover image? |
27 ; If disabled, album_icon will be always used for cover image | 27 ; If disabled, album_icon will be always used for cover image |
28 cover_images = yes | 28 ;cover_images = yes |
29 | 29 |
30 | 30 |
31 ;;; | 31 ;;; |
32 ;;; Important paths and urls | 32 ;;; Important paths and urls |
33 ;;; | 33 ;;; |
35 base_url = "/base/url/" | 35 base_url = "/base/url/" |
36 | 36 |
37 | 37 |
38 ;image_url = "/gallery/" | 38 ;image_url = "/gallery/" |
39 ;mgallery_php = "mgallery.php" | 39 ;mgallery_php = "mgallery.php" |
40 ;format_exts = "\.jpg|\.png|\.gif|\.jpeg" | 40 ;format_exts = "\.jpg|\.png|\.gif|\.jpeg|\.webp" |
41 | 41 |
42 ;captions_file = "captions.txt" | 42 ;captions_file = "captions.txt" |
43 ;header_file = "header.txt" | 43 ;header_file = "header.txt" |
44 ;info_file = "gallery.info" | 44 ;info_file = "gallery.info" |
45 ;cache_file = ".gallery.cache" | 45 ;cache_file = ".gallery.cache" |
51 ;;; | 51 ;;; |
52 ;tn_path = "tn/" | 52 ;tn_path = "tn/" |
53 ;med_path = "med/" | 53 ;med_path = "med/" |
54 | 54 |
55 ;;; If you change thumbnail resolutions, you may wish to change the CSS files as well | 55 ;;; If you change thumbnail resolutions, you may wish to change the CSS files as well |
56 ; Supported med/tn formats are "jpeg" and "webp", depending whether your | |
57 ; installation of PHP and/or ImageMagick or GraphicsMagick supports WebP. | |
58 | |
56 ; tn CSS selector: .galleryEntry | 59 ; tn CSS selector: .galleryEntry |
60 ;tn_format = "jpeg" | |
57 ;tn_width = 140 | 61 ;tn_width = 140 |
58 ;tn_height = 100 | 62 ;tn_height = 100 |
59 ;tn_quality = 77 | 63 ;tn_quality = 85 |
60 | 64 |
61 ;med_width = 800 | 65 ;med_format = "jpeg" |
62 ;med_height = 600 | 66 ;med_width = 960 |
63 ;med_quality = 88 | 67 ;med_height = 640 |
68 ;med_quality = 90 |