# Les images Onebox ont un mauvais rapport d'aspect

**URL:** <https://meta.discourse.org/t/onebox-images-with-bad-aspect-when-oembed-specifies-dimentions-for-rich-html-embeds/277098>\
**Category:** Bug\
**Tags:** onebox\
**Created:** [Août 29, 2023, 8:05 UTC](https://meta.discourse.org/t/onebox-images-with-bad-aspect-when-oembed-specifies-dimentions-for-rich-html-embeds/277098 "2023-08-29T20:05:00Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [Juillet 6, 2025, 5:42 UTC](https://meta.discourse.org/t/onebox-images-with-bad-aspect-when-oembed-specifies-dimentions-for-rich-html-embeds/277098/8 "2025-07-06T17:42:29Z")

</div>

De retour au bureau :

![image](https://global.discourse-cdn.com/meta/original/4X/c/6/c/c6c124b8eb941e8c1919b56c5d553a7c509631db.png)

C’est probablement un style codé, vous devrez donc examiner le code pour savoir comment il est défini.

Lorsque `600 / 600`, votre logo est carré…

Voici :

> <https://github.com/discourse/discourse/blob/27a7e26594bb2bffe2db4a7361787b322e936ad0/lib/cooked_processor_mixin.rb#L92>

---

_[View the full topic](https://meta.discourse.org/t/onebox-images-with-bad-aspect-when-oembed-specifies-dimentions-for-rich-html-embeds/277098)._
