-
Notifications
You must be signed in to change notification settings - Fork 2
/
ext_conf_template.txt
75 lines (68 loc) · 2.89 KB
/
ext_conf_template.txt
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
# cat=general/enable/1; type=boolean; label=Process images on request:WARNING: Can lead to serious server load!
useLiveProcessing = 0
# cat=general/enable/2; type=boolean; label=Only process images in _processed_ folders
useSafeProcessing = 1
# cat=general/enable/3; type=boolean; label=Use the fallback driver xclass to replace image urls (beta):Only use this if the htaccess solution does not work, e.g. for remote storages. Beta, use at your own risk!
useFallbackDriver = 0
webp {
# cat=webp/enable/1; type=boolean; label=Activate webp processor
active = 1
mimeTypes {
# cat=webp/enable/2; type=boolean; label=Convert mime-type png
png = 1
# cat=webp/enable/3; type=boolean; label=Convert mime-type jpeg
jpeg = 1
# cat=webp/enable/4; type=boolean; label=Convert mime-type gif
gif = 1
}
# cat=webp/enable/5; type=options[Local ImageMagick=im,PHP GD=gd,External=ext]; label=Conversion type
converter = im
# cat=webp/enable/6; type=string; label=Options for Imagemagick, Quality for GD or complete command for external conversion (use %s for source and target)).
options = -sharpen 1 -quality 75 -define webp:lossless=false -define webp:method=6
}
avif {
# cat=avif/enable/1; type=boolean; label=Activate avif processor
active = 0
mimeTypes {
# cat=avif/enable/2; type=boolean; label=Convert mime-type png
png = 1
# cat=avif/enable/3; type=boolean; label=Convert mime-type jpeg
jpeg = 1
# cat=avif/enable/4; type=boolean; label=Convert mime-type gif
gif = 1
}
# cat=avif/enable/5; type=options[Local ImageMagick=im,PHP GD=gd,External=ext]; label=Conversion type
converter = im
# cat=avif/enable/6; type=string; label=Options for Imagemagick, Quality for GD or complete command for external conversion (use %s for source and target)).
options = -sharpen 1 -quality 75 -define avif:speed=0 -define avif:lossless=false +profile "*"
}
jpeg {
# cat=jpeg/enable/1; type=boolean; label=Activate jpeg processor
active = 1
# cat=jpeg/enable/2; type=string; label=Path to jpegoptim binary (please use full path)
path = /usr/bin/jpegoptim
}
png {
# cat=png/enable/1; type=boolean; label=Activate png processor
active = 1
# cat=png/enable/2; type=string; label=Path to optipng binary (please use full path)
path = /usr/bin/optipng
}
logging {
# cat=logging/enable/1; type=boolean; label=Log emergencies
emergencies = 1
# cat=logging/enable/2; type=boolean; label=Log alerts
alerts = 1
# cat=logging/enable/3; type=boolean; label=Log critical errors
critical = 1
# cat=logging/enable/4; type=boolean; label=Log errors
errors = 1
# cat=logging/enable/5; type=boolean; label=Log warnings
warnings = 0
# cat=logging/enable/6; type=boolean; label=Log notices
notices = 0
# cat=logging/enable/7; type=boolean; label=Log infos
infos = 0
# cat=logging/enable/8; type=boolean; label=Log debugs
debugs = 0
}