# Image upload error when using resizer

**URL:** https://meta.discourse.org/t/image-upload-error-when-using-resizer/142316
**Category:** Bug
**Created:** [February 22, 2020, 1:08am UTC](https://meta.discourse.org/t/image-upload-error-when-using-resizer/142316 "2020-02-22T01:08:47Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)
#### Post date: [February 22, 2020, 11:52pm UTC](https://meta.discourse.org/t/image-upload-error-when-using-resizer/142316/6 "2020-02-22T23:52:14Z")

</div>

> [@AstonJ](#):
>
> Quick search returned [this](https://meta.discourse.org/t/optimize-images-before-uploading/17150/51) - so looks like the resizer hasn’t been implemented yet (but I was sure it had 🤔)

That was my understanding too… that there is downsizing in place that processes large upload on the server.

> [@Image upload max size and further resizing regression issue](https://meta.discourse.org/t/image-upload-max-size-and-further-resizing-regression-issue/60755/17):
>
> Yup, we already do that. We don’t have a maximum allowed upload size site setting though. It’s only limited via NGINX. And we also have another site setting to help downsize images: max image megapixels.

EDIT/UPDATE:

It has been pretty well described here now:

> [@Image upload size/resize question](https://meta.discourse.org/t/image-upload-size-resize-question/142371/7):
>
> 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 w…

---

_[View the full topic](https://meta.discourse.org/t/image-upload-error-when-using-resizer/142316)._
