# Opzione per disattivare il ritaglio delle immagini alte

**URL:** <https://meta.discourse.org/t/option-to-turn-off-tall-image-cropping/89011>\
**Category:** Feature\
**Created:** [2 Giugno 2018, 6:47pm UTC](https://meta.discourse.org/t/option-to-turn-off-tall-image-cropping/89011 "2018-06-02T18:47:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2 Giugno 2018, 8:46pm UTC](https://meta.discourse.org/t/option-to-turn-off-tall-image-cropping/89011/5 "2018-06-02T20:46:36Z")

</div>

I have a feeling this wouldn’t be so easy.

Background images can have an object-fit property of contain

> **[object-fit CSS property - CSS | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/object-fit)**
>
> The object-fit CSS property sets how the content of a replaced element, such as an or , should be resized to fit its container.

> `contain`
> 
> The replaced content is scaled to maintain its aspect ratio while fitting within the element’s content box. The entire object is made to fill the box, while preserving its aspect ratio, so the object will be [“letterboxed”](https://en.wikipedia.org/wiki/Letterboxing_(filming)) if its aspect ratio does not match the aspect ratio of the box.

But that isn’t for non-replaced images.

Although the raison d’être of Discourse is discussion and not an image gallery, I think this has come up often enough that a good Pull Request has a good chance of being considered. If not that, a plugin for those that wanted the option to either crop or resize images would get a few takers.

Have you been trying anything that has potential that you’re willing to share?

---

_[View the full topic](https://meta.discourse.org/t/option-to-turn-off-tall-image-cropping/89011)._
