You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Whether or not to prefix URLs with the root page language.
23
-
prepend_locale: false
24
-
encryption_key: '%kernel.secret%'
25
-
url_suffix: .html
26
-
27
-
# Folder used by the file manager.
28
-
upload_path: files
29
-
30
-
# Entry point script that bypasses the front end cache for preview features, if necessary. The Contao Managed Edition uses "preview.php" here, but it can be customized for a regular Symfony application.
31
-
preview_script: ''
32
18
csrf_cookie_prefix: csrf_
33
19
csrf_token_name: contao_csrf_token
20
+
encryption_key: '%kernel.secret%'
34
21
35
-
# Enables pretty error screens, for which custom templates can be created.
36
-
pretty_error_screens: false
37
-
38
-
# The error reporting level set when the framework is initialized. Defaults to E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED.
22
+
# The error reporting level set when the framework is initialized. Defaults to E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED.
39
23
error_level: 8183
40
24
25
+
# Allows to set TL_CONFIG variables, overriding settings stored in localconfig.php. Changes in the Contao back end will not have any effect.
26
+
localconfig: ~
27
+
41
28
# Allows to configure which languages can be used within Contao. Defaults to all languages for which a translation exists.
42
29
locales:
43
30
@@ -52,35 +39,31 @@ contao:
52
39
- ja
53
40
- lv
54
41
- nl
55
-
- pl
42
+
- pt
56
43
- ru
57
-
- sl
58
44
- sr
59
45
- zh
60
-
image:
61
46
62
-
# When true, images will always be regenerated when requested. This also disables deferred image resizing.
63
-
bypass_cache: false
64
-
target_path: null # Deprecated (Use the "contao.image.target_dir" parameter instead.)
47
+
# Whether or not to add the page language to the URL.
48
+
prepend_locale: false
65
49
66
-
# The target directory for the cached images processed by Contao.
67
-
target_dir: '…/assets/images'
68
-
valid_extensions:
50
+
# Show customizable, pretty error screens instead of the default PHP error messages.
51
+
pretty_error_screens: false
69
52
70
-
# Defaults:
71
-
- jpg
72
-
- jpeg
73
-
- gif
74
-
- png
75
-
- tif
76
-
- tiff
77
-
- bmp
78
-
- svg
79
-
- svgz
80
-
- webp
53
+
# An optional entry point script that bypasses the front end cache for previewing changes (e.g. preview.php).
54
+
preview_script: ''
81
55
82
-
# Contao automatically detects the best Imagine service out of Gmagick, Imagick and Gd (in this order). To use a specific service, set its service ID here.
# Absolute path to the web directory. Defaults to %kernel.project_dir%/web.
62
+
web_dir: '%kernel.project_dir%/web'
63
+
image:
64
+
65
+
# Bypass the image cache and always regenerate images when requested. This also disables deferred image resizing.
66
+
bypass_cache: false
84
67
imagine_options:
85
68
jpeg_quality: 80
86
69
jpeg_sampling_factors:
@@ -95,26 +78,30 @@ contao:
95
78
webp_lossless: ~
96
79
interlace: plane
97
80
98
-
# Allows to reject images uploaded via Contao's file manager, if they exceed the dimensions of localconfig.gdMaxImgWidth and localconfig.gdMaxImgHeight.
81
+
# Contao automatically uses an Imagine service out of Gmagick, Imagick and Gd (in this order). Set a service ID here to override.
82
+
imagine_service: null
83
+
84
+
# Reject uploaded images exceeding the localconfig.gdMaxImgWidth and localconfig.gdMaxImgHeight dimensions.
99
85
reject_large_uploads: false
100
86
101
-
#This allows to define image sizes directly in the configuration in addition to the Contao back end (tl_image_size table).
87
+
#Allows to define image sizes in the configuration file in addition to in the Contao back end.
102
88
sizes:
103
89
104
90
# Prototype
105
91
name:
106
92
width: ~
107
93
height: ~
108
-
resizeMode: ~ # One of "crop"; "box"; "proportional"
94
+
resize_mode: ~ # One of "crop"; "box"; "proportional"
109
95
zoom: ~
110
-
cssClass: ~
96
+
css_class: ~
97
+
lazy_loading: ~
111
98
densities: ~
112
99
sizes: ~
113
100
114
101
# If the output dimensions match the source dimensions, the image will not be processed. Instead, the original file will be used.
115
-
skipIfDimensionsMatch: ~
102
+
skip_if_dimensions_match: ~
116
103
117
-
# Allows to convert an image format to another, or to provide additional image formats for an image (e.g. WebP).
104
+
# Allows to convert one image format to another or to provide additional image formats for an image (e.g. WebP).
118
105
formats:
119
106
120
107
# Examples:
@@ -132,17 +119,54 @@ contao:
132
119
-
133
120
width: ~
134
121
height: ~
135
-
resizeMode: ~ # One of "crop"; "box"; "proportional"
122
+
resize_mode: ~ # One of "crop"; "box"; "proportional"
136
123
zoom: ~
137
124
media: ~
138
125
densities: ~
139
126
sizes: ~
127
+
128
+
# The target directory for the cached images processed by Contao.
129
+
target_dir: '%kernel.project_dir%/assets/images'
130
+
valid_extensions:
131
+
132
+
# Defaults:
133
+
- jpg
134
+
- jpeg
135
+
- gif
136
+
- png
137
+
- tif
138
+
- tiff
139
+
- bmp
140
+
- svg
141
+
- svgz
142
+
- webp
140
143
security:
141
144
two_factor:
142
145
enforce_backend: false
146
+
search:
143
147
144
-
# Allows to set TL_CONFIG variables. Note that any property set here will override the localconfig.php file, so changing these in the Contao back end will not have any effect.
145
-
localconfig: ~
148
+
# The default search indexer, which indexes pages in the database.
149
+
default_indexer:
150
+
enable: true
151
+
152
+
# Enables indexing of protected pages.
153
+
index_protected: false
154
+
155
+
# The search index listener can index valid and delete invalid responses upon every request. You may limit it to one of the features or disable it completely.
156
+
listener:
157
+
158
+
# Enables indexing successful responses.
159
+
index: true
160
+
161
+
# Enables deleting unsuccessful responses from the index.
162
+
delete: true
163
+
crawl:
164
+
165
+
# Additional URIs to crawl. By default, only the ones defined in the root pages are crawled.
166
+
additional_uris: []
167
+
168
+
# Allows to configure the default HttpClient options (useful for proxy settings, SSL certificate validation and more).
# Absolute path to the web directory. Defaults to %kernel.project_dir%/web.
267
+
web_dir: '%kernel.project_dir%/web'
268
+
image:
269
+
270
+
# Bypass the image cache and always regenerate images when requested. This also disables deferred image resizing.
271
+
bypass_cache: false
274
272
imagine_options:
275
273
jpeg_quality: 80
276
274
jpeg_sampling_factors:
@@ -284,21 +282,40 @@ contao:
284
282
webp_quality: ~
285
283
webp_lossless: ~
286
284
interlace: plane
285
+
286
+
# Contao automatically uses an Imagine service out of Gmagick, Imagick and Gd (in this order). Set a service ID here to override.
287
+
imagine_service: null
288
+
289
+
# Reject uploaded images exceeding the localconfig.gdMaxImgWidth and localconfig.gdMaxImgHeight dimensions.
287
290
reject_large_uploads: false
291
+
292
+
# Allows to define image sizes in the configuration file in addition to in the Contao back end.
288
293
sizes:
289
294
290
295
# Prototype
291
296
name:
292
297
width: ~
293
298
height: ~
294
-
resizeMode: ~ # One of "crop"; "box"; "proportional"
299
+
resize_mode: ~ # One of "crop"; "box"; "proportional"
295
300
zoom: ~
296
-
cssClass: ~
301
+
css_class: ~
302
+
lazy_loading: ~
297
303
densities: ~
298
304
sizes: ~
299
-
skipIfDimensionsMatch: ~
305
+
306
+
# If the output dimensions match the source dimensions, the image will not be processed. Instead, the original file will be used.
307
+
skip_if_dimensions_match: ~
308
+
309
+
# Allows to convert one image format to another or to provide additional image formats for an image (e.g. WebP).
300
310
formats:
301
311
312
+
# Examples:
313
+
jpg:
314
+
- webp
315
+
- jpg
316
+
gif:
317
+
- png
318
+
302
319
# Prototype
303
320
source: []
304
321
items:
@@ -307,15 +324,54 @@ contao:
307
324
-
308
325
width: ~
309
326
height: ~
310
-
resizeMode: ~ # One of "crop"; "box"; "proportional"
327
+
resize_mode: ~ # One of "crop"; "box"; "proportional"
311
328
zoom: ~
312
329
media: ~
313
330
densities: ~
314
331
sizes: ~
332
+
333
+
# The target directory for the cached images processed by Contao.
334
+
target_dir: '%kernel.project_dir%/assets/images'
335
+
valid_extensions:
336
+
337
+
# Defaults:
338
+
- jpg
339
+
- jpeg
340
+
- gif
341
+
- png
342
+
- tif
343
+
- tiff
344
+
- bmp
345
+
- svg
346
+
- svgz
347
+
- webp
315
348
security:
316
349
two_factor:
317
350
enforce_backend: false
318
-
localconfig: ~
351
+
search:
352
+
353
+
# The default search indexer, which indexes pages in the database.
354
+
default_indexer:
355
+
enable: true
356
+
357
+
# Enables indexing of protected pages.
358
+
index_protected: false
359
+
360
+
# The search index listener can index valid and delete invalid responses upon every request. You may limit it to one of the features or disable it completely.
361
+
listener:
362
+
363
+
# Enables indexing successful responses.
364
+
index: true
365
+
366
+
# Enables deleting unsuccessful responses from the index.
367
+
delete: true
368
+
crawl:
369
+
370
+
# Additional URIs to crawl. By default, only the ones defined in the root pages are crawled.
371
+
additional_uris: []
372
+
373
+
# Allows to configure the default HttpClient options (useful for proxy settings, SSL certificate validation and more).
0 commit comments