# \<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:** 8

<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:** [1 Aprile 2015, 3:29pm UTC](https://meta.discourse.org/t/img-width-and-height-attribute-oddities/26891/8 "2015-04-01T15:29:38Z")

</div>

If I had to guess, it’s because the cooking code server-side is ‘deduping’ the size attributes based on the filename; the client-side cooker doesn’t do that, as they look fine in preview.

 ![](https://global.discourse-cdn.com/meta/original/3X/d/9/d9901172b5a5d090e2813e5d75907625f1688234.PNG)

---

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