# Changing max\_image\_size\_kb

**URL:** <https://meta.discourse.org/t/changing-max-image-size-kb/247420>\
**Category:** Product Support\
**Tags:** uploads, s3\
**Created:** [December 2, 2022, 1:25am UTC](https://meta.discourse.org/t/changing-max-image-size-kb/247420 "2022-12-02T01:25:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [December 2, 2022, 2:08am UTC](https://meta.discourse.org/t/changing-max-image-size-kb/247420/2 "2022-12-02T02:08:46Z")

</div>

> [@fearlessfrog](#):
>
> An older build of discourse had a Rails [script/downsize\_uploads.rb](https://github.com/discourse/discourse/blob/4c89f7f88165c28bfc8ecb15a3be7346985d384e/script/downsize_uploads.rb) but I think that’s gone from github now?

It was converted into `rake uploads:downsize`. Be sure to glance over [the script code](https://github.com/discourse/discourse/blob/main/lib/tasks/uploads.rake#L1095) as this is a destructive action.

> [@fearlessfrog](#):
>
> We’re thinking of changing our setting for max image size kb

Nowadays the client side image compression should yield enough saving to keep image uploads in check. Do you have it enabled?

---

_[View the full topic](https://meta.discourse.org/t/changing-max-image-size-kb/247420)._
