Skip to main content
edited tags
Link
edited tags
Link
bmike Mod
  • 241.3k
  • 1
  • 44
  • 80
Source Link
bmike Mod
  • 241.3k
  • 1
  • 44
  • 80

Bug in <img> tag for specifying height to reduce retina images

We have a lot of images that due to retina display densities, appear huge when uploaded using the stock controls.

large, retina image

When I go in and add a height control before the src, the html isn't rendered on the site:

<img height="40" src="https://i.sstatic.net/gU2OO.png" >

<img src="https://i.sstatic.net/gU2OO.png" height="40" >

When you add the height tag after the src, it renders properly. Could the code be fixed so that valid img syntax works without needing to order the modifiers after the src attribute of the ing element doesn't have to come first in the post text?