Filing as reminder from https://gerrit.wikimedia.org/r/#/c/275670/2/resources/mobile.startup/Skin.js. Right now the srcset width and height class attributes are missing from the javascript-created image. Which causes it to render at the wrong dimensions if the image dimensions vary from the original.
This is the case in at least two scenarios:
- HiDPI srcset.
- Images smaller than the desired thumbnail size (blown up intentionally by the author).