# Images size properly in the preview window, but not in the post

**URL:** <https://meta.discourse.org/t/images-size-properly-in-the-preview-window-but-not-in-the-post/29660>\
**Category:** Bug\
**Created:** [2015 年6 月 4 日 19:57 UTC](https://meta.discourse.org/t/images-size-properly-in-the-preview-window-but-not-in-the-post/29660 "2015-06-04T19:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Itzikiap](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itzikiap/32/147276_2.png) [@Itzikiap](https://meta.discourse.org/u/Itzikiap)\
发布日期： [2015 年6 月 4 日 19:57 UTC](https://meta.discourse.org/t/images-size-properly-in-the-preview-window-but-not-in-the-post/29660/1 "2015-06-04T19:57:52Z")

</div>

Hi. my discourse installation is:  
v1.4.0.beta1

When I edit a post, I can write **img** tags for images, and set the size of the image to fit my post, and not be so big. As you can see in the screen shot, in the preview it works.  
(Don’t mind the alignment of the text in the edit, I just temporarly aligned it to the left so it would be more convenient to write the img tags)

 ![](https://global.discourse-cdn.com/meta/original/4X/5/5/d/55d1221f71b1fd1a0d36c8c131946cd471e3778c.png)

However, after accepting the edit and savig, all the images are displayed in their natural size, regardless of what I wrote.

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

This is the img line:

> `<img src='/uploads/default/original/1X/0d1549f080237ad08a753deb0f8b7fb2e28d3852.gif' width=100>`

This problem was also in previous versions of discourse.

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/images-size-properly-in-the-preview-window-but-not-in-the-post/29660)._
