Mercurial > hg > mgallery
annotate 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 |
rev | line source |
---|---|
0 | 1 ;;; |
2 ;;; MGallery example configuration | |
3 ;;; | |
4 | |
5 ;;; Gallery title, etc. | |
6 title_prefix = "My Own Gallery" | |
7 title_sep = " - " | |
8
0a284f2ccc73
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
8 page_info = "<b>MGallery</b> © Copyright 2015 Tecnic Software productions (TNSP)" |
0 | 9 |
10 | |
11 ;;; | |
12 ;;; CSS / layout style | |
13 ;;; | |
14 css_select = yes | |
15 css = "/mgallery/basic.css" | |
16 album_icon = "/mgallery/album_sm.png" | |
17 | |
8
0a284f2ccc73
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
18 navi_ctrl_up = "up" |
0a284f2ccc73
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
19 navi_ctrl_prev = "<< prev" |
0a284f2ccc73
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
20 navi_ctrl_next = "next >>" |
0a284f2ccc73
Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
21 |
17
3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
Matti Hamalainen <ccr@tnsp.org>
parents:
8
diff
changeset
|
22 ; Use image from sub-album as album cover image |
3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
Matti Hamalainen <ccr@tnsp.org>
parents:
8
diff
changeset
|
23 cover_images = yes |
3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
Matti Hamalainen <ccr@tnsp.org>
parents:
8
diff
changeset
|
24 |
0 | 25 |
26 ;;; | |
27 ;;; Important paths and urls | |
28 ;;; | |
29 base_path = "/absolute/path/to/your/gallery" | |
30 base_url = "/base/url/" | |
31 | |
32 | |
33 ;image_url = "/gallery/" | |
34 ;mgallery_php = "mgallery.php" | |
35 ;tn_path = "tn/" | |
36 ;format_exts = "\.jpg|\.png|\.gif|\.jpeg" | |
37 | |
38 ;captions_file = "captions.txt" | |
39 ;header_file = "header.txt" | |
40 ;info_file = "gallery.info" | |
41 ;cache_file = ".gallery.cache" | |
42 ;clean_urls = no | |
43 | |
44 | |
45 ;;; | |
46 ;;; Thumbnail/medium size image settings | |
47 ;;; | |
48 ;med_suffix = ".med" | |
49 ;tn_width = 140 | |
50 ;tn_height = 100 | |
51 ;tn_quality = 80 | |
52 ;med_width = 800 | |
53 ;med_height = 600 | |
54 ;med_quality = 95 |