-
-
Notifications
You must be signed in to change notification settings - Fork 112
/
parameters.yml
146 lines (126 loc) · 3.21 KB
/
parameters.yml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
---
# Debug
debug: true
# Home page title
home_page_title: Flyimg
# Number of days for header cache expires `max_age`
header_cache_days: 365
# To enable the Cleanup Cronjob to purge the var/tmp folder
enable_cronjob_cleanup: true
# The cronjob interval to cleanup the var/tmp folder
cronjob_cleanup_interval: "0 */5 * * *"
# Options separator
# When changing this value, you should change the OPTIONS_SEPARATOR value in web/js/main.js!
options_separator: ','
# Security: Signature generation
# Security key
security_key: ''
# Secret Initialization vector(IV)
security_iv: ''
# Restrict domains, false by default
restricted_domains: false
# If restricted_domains is enabled, put whitelist domains here
whitelist_domains:
- domain-1.com
- domain-2.com
# Default storage system is local, to use AWS S3, change this param to s3
storage_system: local
# In case storage_system: s3, you need to add those AWS S3 parameters:
aws_s3:
access_id: ''
secret_key: ''
region: 'eu-central-1'
bucket_name: ''
# Number of threads for Imagemagick to use
thread: 1
# For Avif format: conversion speed parameter for the HEIF library.
heic_speed: 8
# Read source image timeout in seconds
source_image_request_timeout: 5
# When set to true the generated image will be deleted from the cache in web/upload and served directly in the response
disable_cache: false
# When supported by the browser, AVIF format will be served as default output
enable_avif: true
# When supported by the browser, Webp format will be served as default output (after checking AVIF support)
enable_webp: true
# Extra options for the header sent to source image server, as some servers requires the User-Agent.
header_extra_options:
- 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201'
# List of request header to forward to source image server (example Authorization)
forward_request_headers: []
# Keys used in url to match options. Ex: q_80,w_200,h_100
options_keys:
q: quality
o: output
unsh: unsharp
sh: sharpen
blr: blur
fc: face-crop
fcp: face-crop-position
fb: face-blur
w: width
h: height
c: crop
bg: background
st: strip
ao: auto-orient
rz: resize
g: gravity
f: filter
r: rotate
sc: scale
sf: sampling-factor
rf: refresh
smc: smart-crop
ett: extent
par: preserve-aspect-ratio
pns: preserve-natural-size
webpl: webp-lossless
gf: gif-frame
e: extract
p1x: extract-top-x
p1y: extract-top-y
p2x: extract-bottom-x
p2y: extract-bottom-y
pdfp: pdf-page-number
tm: time
clsp: colorspace
mnchr: monochrome
# Default options values
default_options:
quality: 90
output: auto
unsharp: null
sharpen: null
blur: null
face-crop: 0
face-crop-position: 0
face-blur: 0
width: null
height: null
crop: null
background: null
strip: 1
auto-orient: 0
resize: null
gravity: Center
filter: Lanczos
rotate: null
scale: null
sampling-factor: 1x1
refresh: false
smart-crop: false
extent: null
preserve-aspect-ratio: 1
preserve-natural-size: 1
webp-lossless: 0
gif-frame: 0
extract: null
extract-top-x: null
extract-top-y: null
extract-bottom-x: null
extract-bottom-y: null
pdf-page-number: 1
time: '00:00:01'
colorspace: 'sRGB'
monochrome: null