# Specifying maximum uploaded (not thumbnail) image width and height

**URL:** <https://meta.discourse.org/t/specifying-maximum-uploaded-not-thumbnail-image-width-and-height/26715>\
**Category:** Feature\
**Created:** [24 Marzo, 2015 17:43 UTC](https://meta.discourse.org/t/specifying-maximum-uploaded-not-thumbnail-image-width-and-height/26715 "2015-03-24T17:43:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![scottfsmith](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scottfsmith/32/50976_2.png) [@scottfsmith](https://meta.discourse.org/u/scottfsmith)\
**Post date:** [24 Marzo, 2015 17:43 UTC](https://meta.discourse.org/t/specifying-maximum-uploaded-not-thumbnail-image-width-and-height/26715/1 "2015-03-24T17:43:26Z")

</div>

Hi, I have a relatively new discourse site up, [http://growingfruit.org](http://growingfruit.org). Everything has been going great, in a way too great as I am getting lots of image uploads and at the current rate it could end up maxing out my hosting plan in a few years. I was having complaints from novice users not able to upload larger images so I upped that limit to 10MB. But, I am now seeing 100MB per week of uploads and the site is still young.

I don’t need a short-term solution to this problem but I would sleep better if I knew I could just compress the existing images on the server in /var/discourse/shared/standalone/uploads/default/nnn/ directories and not have anything break. It would be even better if I could resize them. I tried compressing one image and it still loaded fine and nothing seemed to break, but if there is metadata stored in the database about the images there could be some problem down the road perhaps.

Scott

---

_[View the full topic](https://meta.discourse.org/t/specifying-maximum-uploaded-not-thumbnail-image-width-and-height/26715)._
