Mercurial > hg > mgallery
annotate example.cfg @ 151:4e25150aa868
Change js_path configuration setting to js_file.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Sep 2017 17:34:36 +0300 |
parents | b4751909c48f |
children | cb7019690a73 |
rev | line source |
---|---|
0 | 1 ;;; |
2 ;;; MGallery example configuration | |
3 ;;; | |
4 | |
130
f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
Matti Hamalainen <ccr@tnsp.org>
parents:
129
diff
changeset
|
5 ; Timezone used for timestamp/date calculations. |
f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
Matti Hamalainen <ccr@tnsp.org>
parents:
129
diff
changeset
|
6 ; See http://php.net/manual/en/timezones.php |
f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
Matti Hamalainen <ccr@tnsp.org>
parents:
129
diff
changeset
|
7 timezone = "Europe/Helsinki" |
f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
Matti Hamalainen <ccr@tnsp.org>
parents:
129
diff
changeset
|
8 |
f825d644cf7a
Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
Matti Hamalainen <ccr@tnsp.org>
parents:
129
diff
changeset
|
9 |
0 | 10 ;;; Gallery title, etc. |
11 title_prefix = "My Own Gallery" | |
12 title_sep = " - " | |
111 | 13 page_info = "<b>MGallery</b> © Copyright 2015-2017 Tecnic Software productions (TNSP)" |
0 | 14 |
15 | |
16 ;;; | |
17 ;;; CSS / layout style | |
18 ;;; | |
19 css = "/mgallery/basic.css" | |
20 album_icon = "/mgallery/album_sm.png" | |
129
bad658e1e7ed
Config option "page_urchin" should actually be "urchin_file".
Matti Hamalainen <ccr@tnsp.org>
parents:
128
diff
changeset
|
21 ;urchin_file = "urchin.inc.php" |
107
71de97240799
Add support for urchin file.
Matti Hamalainen <ccr@tnsp.org>
parents:
106
diff
changeset
|
22 |
151
4e25150aa868
Change js_path configuration setting to js_file.
Matti Hamalainen <ccr@tnsp.org>
parents:
149
diff
changeset
|
23 ; Relative path+filename to mgallery.js |
4e25150aa868
Change js_path configuration setting to js_file.
Matti Hamalainen <ccr@tnsp.org>
parents:
149
diff
changeset
|
24 js_file = "/mgallery/mgallery.js" |
149
b4751909c48f
Move some Javascript code to a separate file and make the location configurable.
Matti Hamalainen <ccr@tnsp.org>
parents:
140
diff
changeset
|
25 |
140
814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
26 ; Use image from sub-album as album cover image? |
814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
27 ; If disabled, album_icon will be always used for cover image |
17
3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
Matti Hamalainen <ccr@tnsp.org>
parents:
8
diff
changeset
|
28 cover_images = yes |
3f7bc4202df3
Add new configuration setting 'cover_images' to disable/enable sub-album
Matti Hamalainen <ccr@tnsp.org>
parents:
8
diff
changeset
|
29 |
19
59075f5e7a62
Add configuration setting to enable and disable use of HTML table elements.
Matti Hamalainen <ccr@tnsp.org>
parents:
17
diff
changeset
|
30 ; Use table elements? If disabled, CSS is responsible for formatting |
59075f5e7a62
Add configuration setting to enable and disable use of HTML table elements.
Matti Hamalainen <ccr@tnsp.org>
parents:
17
diff
changeset
|
31 use_tables = yes |
0 | 32 |
140
814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
33 ; Number of image entries per table row, if use_tables enabled |
814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
34 album_row_limit = 6 |
814c422c9194
Document cover_images setting better. Add album_row_limit to example config.
Matti Hamalainen <ccr@tnsp.org>
parents:
130
diff
changeset
|
35 |
0 | 36 ;;; |
37 ;;; Important paths and urls | |
38 ;;; | |
39 base_path = "/absolute/path/to/your/gallery" | |
40 base_url = "/base/url/" | |
41 | |
42 | |
43 ;image_url = "/gallery/" | |
44 ;mgallery_php = "mgallery.php" | |
45 ;tn_path = "tn/" | |
46 ;format_exts = "\.jpg|\.png|\.gif|\.jpeg" | |
47 | |
48 ;captions_file = "captions.txt" | |
49 ;header_file = "header.txt" | |
50 ;info_file = "gallery.info" | |
51 ;cache_file = ".gallery.cache" | |
52 ;clean_urls = no | |
53 | |
54 | |
55 ;;; | |
56 ;;; Thumbnail/medium size image settings | |
57 ;;; | |
58 ;med_suffix = ".med" | |
41 | 59 |
60 ;;; If you change thumbnail resolutions, you may wish to change the CSS files as well | |
61 ; tn CSS selector: .galleryEntry | |
0 | 62 ;tn_width = 140 |
63 ;tn_height = 100 | |
106
a3b8cd4183e6
Change {album,image}_navigation setting to *_flags.
Matti Hamalainen <ccr@tnsp.org>
parents:
41
diff
changeset
|
64 ;tn_quality = 77 |
41 | 65 |
0 | 66 ;med_width = 800 |
67 ;med_height = 600 | |
106
a3b8cd4183e6
Change {album,image}_navigation setting to *_flags.
Matti Hamalainen <ccr@tnsp.org>
parents:
41
diff
changeset
|
68 ;med_quality = 88 |