forked from SammysHP/SimpleImageBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php.skel
104 lines (84 loc) · 2.02 KB
/
config.php.skel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
/**
* If true, this script tries to find all directories in "autodetectroot".
* (See next option "autodetectroot".)
*
* WARNING: Scans all subdirectories of $config['autodetectroot'] on each
* request!
*
* Experimental, use with care!
*
* Values: true, false
*/
$config['autodetect'] = false;
/**
* Root directory that is scanned with "autodetect" enabled.
*
* Values: relative path
*/
$config['autodetectroot'] = 'images';
/**
* Albums with manual configuration. This array is used if "autodetect" is
* false.
*
* Values: associative array with "Title" => "relative path"
*/
$config['albums'] = array(
'Home' => 'images'
);
/**
* The base title of this site. Image titles are appended with
* " :: image title".
*
* Values: string
*/
$config['sitetitle'] = 'Simple Image Browser';
/**
* Description used in the html meta tag.
*
* Values: string
*/
$config['metadescription'] = '';
/**
* Keywords used in the html meta tag.
*
* Values: string
*/
$config['metakeywords'] = '';
/**
* Number of thumbnails next to the image. A value of n*3 looks best.
* Do not use high numbers because all images are loaded by the client (no
* thumbnail generation).
*
* Values: integer, 1-n
*/
$config['paginginterval'] = 9;
/**
* Sort images descending instead of ascending. Sorting is always alphabetically
* at the moment. Choose a good filename if you want any special sorting.
*
* Values: true, false
*/
$config['sortdescending'] = true;
/**
* URL for the home button next to the image. If empty, the button is hidden.
*
* Values: string
*/
$config['homeurl'] = '';
/**
* Text for the info/about page.
*
* Values: string, here with Nowdoc syntax
*/
$config['info'] = <<<'EOD'
<p>
Displayed with <a href="https://github.com/SammysHP/SimpleImageBrowser">Simple Image Browser</a> by <a href="http://www.sammyshp.de/">Sven Karsten Greiner</a>.
</p>
EOD;
/**
* Show a white border around the image.
*
* Values: true, false
*/
$config['imageborder'] = false;