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?

  • I have a feeling this is by design: "The attribute order is important! Using a different order (e.g., height before width) will strip the tag!" meta.stackexchange.com/questions/1777/…
    – grg Mod
    Commented Aug 15, 2014 at 20:28

1 Answer 1


I'd rather this were corrected in the uploading process as requested on MSO, but fixing this might be easier and let us pop the height in after the img tag rather than having to scroll past the image src to find the the insertion point for modifying the width or height of an inline image.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .