# \<img\> width and height attribute oddities

**URL:** <https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891>\
**Category:** Bug\
**Created:** [27 Marzo 2015, 11:26pm 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:** 5

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [28 Marzo 2015, 2:07am UTC](https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891/5 "2015-03-28T02:07:15Z")

</div>

Arbitrary widths are not supported. The idea is that the image contains the _correct_ width, either max thumbnail size, or the exact size if the image is smaller than the max thumbnail size.

---

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