# Images in posts too wide when “max image width” is set

**URL:** <https://meta.discourse.org/t/images-in-posts-too-wide-when-max-image-width-is-set/126372>\
**Category:** Product Support\
**Created:** [August 21, 2019, 8:10am UTC](https://meta.discourse.org/t/images-in-posts-too-wide-when-max-image-width-is-set/126372 "2019-08-21T08:10:35Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![tohaitrieu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tohaitrieu/32/151338_2.png) [@tohaitrieu](https://meta.discourse.org/u/tohaitrieu)\
**Post date:** [August 22, 2019, 4:50pm UTC](https://meta.discourse.org/t/images-in-posts-too-wide-when-max-image-width-is-set/126372/12 "2019-08-22T16:50:31Z")

</div>

It means my forum have problem. But I have no find any problem. I try remove all plugin, Theme component and can not fix this error.

Now I must add this css in custom css to fix problem:

```
.d-editor-preview .image-wrapper img, .lightbox-wrapper img, .cooked img.d-lazyload {
    width: 100%;
    height: auto;
}

```

---

_[View the full topic](https://meta.discourse.org/t/images-in-posts-too-wide-when-max-image-width-is-set/126372)._
