# Composer image resize threshold

**URL:** https://meta.discourse.org/t/composer-image-resize-threshold/402018
**Category:** Self-hosting
**Tags:** uploads, composer
**Created:** [May 1, 2026, 3:37pm UTC](https://meta.discourse.org/t/composer-image-resize-threshold/402018 "2026-05-01T15:37:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 1, 2026, 3:58pm UTC](https://meta.discourse.org/t/composer-image-resize-threshold/402018/2 "2026-05-01T15:58:12Z")

</div>

> [@gallery3540](#):
>
> image resize dimensions threshold

it is a hidden setting so it can be changed in rails console

> <https://github.com/discourse/discourse/blob/a77759856b1aea3e97f1af8517ff6bd7163ddb9d/config/site_settings.yml#L2482-L2485>

but i think it needs to be added here:

> [@Hidden Site Settings Reference Guide](https://meta.discourse.org/t/hidden-site-settings-reference-guide/308774/1):
>
> bookmark This is a #reference guide for describing all available Hidden Site Settings. person_raising_hand Required user level: Administrator Hidden site settings in Discourse are advanced configuration options that are not available through the standard admin interface. They provide additional flexibility to customize the functionality of your Discourse instance. information_source For additional information about modifying hidden site settings, see: [Enable Hidden Site Settings](https://meta.discourse.org/t/enable-hidden-site-settings/308773). Be…

to change it:

```plaintext
cd /var/discourse
./launcher enter app
rails c

```

```plaintext
SiteSetting.composer_media_optimization_image_resize_dimensions_threshold = 1440

```

```plaintext
exit

```

---

_[View the full topic](https://meta.discourse.org/t/composer-image-resize-threshold/402018)._
