# Image upload size/resize question

**URL:** https://meta.discourse.org/t/image-upload-size-resize-question/142371
**Category:** Support
**Created:** [February 23, 2020, 4:47am UTC](https://meta.discourse.org/t/image-upload-size-resize-question/142371 "2020-02-23T04:47:01Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![torsi](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@torsi](https://meta.discourse.org/u/torsi)
#### Post date: [February 23, 2020, 3:42pm UTC](https://meta.discourse.org/t/image-upload-size-resize-question/142371/7 "2020-02-23T15:42:05Z")

</div>

After mashing buttons for awhile to figure things out, this is what I think is happening:

- With a default install, `client_max_body_size` == `max image size kb`, images will not be resized.

- Increasing `client_max_body_size` will allow larger uploads, which Discourse will then attempt to resize under the limit set in `max image size kb`

- Despite the description which implies otherwise, `max image size kb` doesn’t actually limit upload sizes (this is super confusing!)

- Upload sizes are solely set with nginx’s `client_max_body_size`

- When resizing, JPEG’s stay JPEG’s with good results  
PNG’s are converted to JPG’s with acceptable results  
Animated GIF’s stay GIF’s with generally lousy results

Is this all correct? If so, it seems like the sort of thing that should be explained a little better since an out of the box installation doesn’t do any image resizing even though that is a feature many people might want and it isn’t clear at all from available documentation how to enable it.

---

_[View the full topic](https://meta.discourse.org/t/image-upload-size-resize-question/142371)._
