# 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:** 2

<div class="post-metadata">

作者： ![cipher1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cipher1/32/42613_2.png) [@cipher1](https://meta.discourse.org/u/cipher1)\
发布日期： [2015 年6 月 4 日 23:30 UTC](https://meta.discourse.org/t/images-size-properly-in-the-preview-window-but-not-in-the-post/29660/2 "2015-06-04T23:30:11Z")

</div>

You appear to be missing the proper quotes around the width value in your tag. Try using:

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

```

or

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

```

If that doesn’t fix it, then it probably has something to do with how Discourse bakes the lightboxes for larger images.

**Edit:** Testing on try.discourse shows that using the examples I provided when initially posting works as intended, but trying to go from what @Itzikiap is using to one of my examples by editing an existing post does not correct the baked version of the post.

---

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