|
@@ -175,6 +175,17 @@ wsgidav.config_path = %(here)s/wsgidav.conf
|
175
|
175
|
## Do not set http:// prefix.
|
176
|
176
|
# wsgidav.client.base_url = 127.0.0.1:<WSGIDAV_PORT>
|
177
|
177
|
|
|
178
|
+### Preview
|
|
179
|
+## You can parametrized allowed jpg preview dimension list, if not set, default
|
|
180
|
+## is 256x256. First {width}x{length} items is default preview dimensions.
|
|
181
|
+## all items should be separated by ',' and you should be really careful to do
|
|
182
|
+## set anything else than '{int}x{int}' item and ', ' separator
|
|
183
|
+# preview.jpg.allowed_dims = 256x256,1000x1000
|
|
184
|
+## Preview dimensions can be set as restricted, if set as restricted, access
|
|
185
|
+## endpoint to to get any other preview dimensions than allowed_dims will
|
|
186
|
+## return error
|
|
187
|
+# preview.jpg.restricted_dims = True
|
|
188
|
+
|
178
|
189
|
###
|
179
|
190
|
# wsgi server configuration
|
180
|
191
|
###
|