# Images are still too big -- how to compress further?

**URL:** https://meta.discourse.org/t/images-are-still-too-big-how-to-compress-further/50836
**Category:** Support
**Created:** [28 september 2016 om 23:36 UTC](https://meta.discourse.org/t/images-are-still-too-big-how-to-compress-further/50836 "2016-09-28T23:36:52Z")
**Posts on this page:** 1
**Showing post:** 21

<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: [22 februari 2020 om 13:46 UTC](https://meta.discourse.org/t/images-are-still-too-big-how-to-compress-further/50836/21 "2020-02-22T13:46:52Z")

</div>

Can you please elaborate if this is working as expected?

From: [Image upload max size and further resizing regression issue - #18 by sam](https://meta.discourse.org/t/image-upload-max-size-and-further-resizing-regression-issue/60755/18)

> 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.

> We try downsizing 3 times prior to creating the upload.

So there are two settings

`max image size kb`  
and  
`max image megapixels`

For example I would like to allow upload of photos up to 10MB and downsize them during the upload to 5 megapixels, So I’ve set:

`max image size kb = 10000`  
`max image megapixels = 5`

Unfortunately if I try to upload 9MB file it shows

> “Sorry, the image you are trying to upload is too large (maximum dimension is 5-megapixels), please resize it and try again.”

Is there any setting to really engage that 3x downsizing..? Because it just seems like both settings are just limits that test the uploaded file before it is processed.

---

_[View the full topic](https://meta.discourse.org/t/images-are-still-too-big-how-to-compress-further/50836)._
