# Image upload size/resize question

**URL:** <https://meta.discourse.org/t/image-upload-size-resize-question/142371>\
**Category:** Product Support\
**Created:** [23 februari 2020 om 04:47 UTC](https://meta.discourse.org/t/image-upload-size-resize-question/142371 "2020-02-23T04:47:01Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [28 februari 2020 om 02:45 UTC](https://meta.discourse.org/t/image-upload-size-resize-question/142371/11 "2020-02-28T02:45:04Z")

</div>

Hi Sam, going by the description there doesn’t seem to be working for me:

> + max\_image\_size\_kb: “The maximum image upload size in kB. This must be configured in nginx (client\_max\_body\_size) / apache or proxy as well. Images larger than this and smaller than client\_max\_body\_size will be resized to fit on upload.”

> + max\_image\_megapixels: “Maximum number of megapixels allowed for an image. Images with a higher number of megapixels will be rejected.”

Or at least no resizing seems to be attempted.

I had `max_image_size_kb` set to `1000kb` and an image slightly over that was replaced by a link and followed by text which says `(image larger than 1000KB)`.

I changed the setting to 500kb and the same thing happened.

I haven’t changed `client_max_body_size` in NGINX as I assume it is at the default (of 4096).

These are on images that are hot linked btw (where I assume if you have `download remote images to local` checked) it should treat as a standard upload? (If not can we get it to behave the same way please?)

**Edit** : Ok so uploading directly and the resizing works - yay! So it’s just the remote images that are being fetched that fail. Not sure what behaviour would be ideal tbh, but on first thought I would think the same - those images get resized too.

---

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