# \<img\> width and height attribute oddities

**URL:** <https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891>\
**Category:** Bug\
**Created:** [27 Março , 2015 23:26 UTC](https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891 "2015-03-27T23:26:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RaceProUK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raceprouk/32/115844_2.png) [@RaceProUK](https://meta.discourse.org/u/RaceProUK)\
**Post date:** [27 Março , 2015 23:26 UTC](https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891/1 "2015-03-27T23:26:06Z")

</div>

It seems the application of `<img>` `width` and `height` attributes is no longer being applied correctly; looks like a regression of [this issue](https://meta.discourse.org/t/setting-only-width-attribute-of-img-tag-works-in-preview-not-in-real-post/757).

To save me posting a gazillion example posts, I’ll link to the WTDWTF thread instead:

> **[What the Daily WTF?](https://what.thedailywtf.com/login)**

Update: It only happens if they’re the same image; if the images are different, the attributes work properly…

---

_[View the full topic](https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891)._
