# \`min ratio to crop\` 站点设置应尊重 Markdown 中定义的宽高比

**URL:** <https://meta.discourse.org/t/min-ratio-to-crop-site-setting-should-respect-w-h-ratio-as-defined-in-markdown/138374>\
**Category:** Feature\
**Created:** [2020年一月12日 09:13 UTC](https://meta.discourse.org/t/min-ratio-to-crop-site-setting-should-respect-w-h-ratio-as-defined-in-markdown/138374 "2020-01-12T09:13:44Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)\
**Post date:** [2020年一月13日 01:38 UTC](https://meta.discourse.org/t/min-ratio-to-crop-site-setting-should-respect-w-h-ratio-as-defined-in-markdown/138374/10 "2020-01-13T01:38:55Z")

</div>

我不是 Discourse 团队的一员，所以只是在复述我所看到的内容。

关于当前的默认设置，已给出不止一个理由。我记得在这里看到的理由包括：

- 让站点所有者能够控制此功能
- 防止因垂直方向占用过多空间而导致拉长的图片占据主导地位
- 防止拉长的图片变成水平细条或断裂
- 提供清晰可读的预览
- discourages 不寻常且未优化的图片（包括拉长的图片），这些有时是由于某一维度的无意拉伸造成的

此外，还有一个关于编辑器预览的问题，它让你误以为可以手动调整显示图片的大小。这个问题之前已被报告过，但显然尚未被视为需要优先修复的问题：

> [@Lightbox size is broken for large images](https://meta.discourse.org/t/lightbox-size-is-broken-for-large-images/97784/3?u=remah):
>
> The thumbnail shown in the post preview looked reasonable to me. If this is intentional behavior though, the post preview should display the image cropped.

---

_[View the full topic](https://meta.discourse.org/t/min-ratio-to-crop-site-setting-should-respect-w-h-ratio-as-defined-in-markdown/138374)._
