Last modified: 2012-07-23 20:33:53 UTC
Needs to set size and properly figure out which assets to show for which DPI.
Something like this should fix: * set width/height attributes of the 1x images on the <img> * when checking window.devicePixelRatio, for safety bucket them into: - <= 1 -> 1 - > 1 && < 2 -> 1.5 - >= 2 -> 2 This'll avoid breaking on ldpi devices where it'll be 0.75, and doesn't need to worry about converting numbers to strings strictly. Alternately, just use the 2x assets always like we do on the Wikipedia app. ;)
Taking the easy way out :) https://github.com/wikimedia/WLMMobile/pull/33 fixes this.
Seems to be addressed from comments above