It’s not a mystery if it’s written in plain text ![]()
Ok, so here’s what happens when a user uploads an image
- NGINX accepts the image up to its “
client_max_body_size” setting (defaults to 10MB, can be overwritten inapp.yml) - Then, we’ll convert large PNG/BMPs to JPEG to keep the filesize at bay
- Then, we’ll halve (up to 3 times) the uploaded image until it’s lower than the “
max image size kb” site setting - If the image is still larger, then we’ll reject it

- Then, go on with the upload process (fix orientation, crop, optimize…)