BBC-News/Imager.js — pull request #86 by oncletom (2014-03-19 16:39:55+00:00)
Title: Containers above max image size load smallest image

Hi,

I had a container div with no width or max width set. My maximum image size in Imager was 976px. Imager works as normal when my browser resizes anywhere beneath 976px, but the moment my viewport (and therefore the container div) is wider than 976px, Imager defaults to the smallest image (320px).

So the effect goes from 976px - fine => 977px - blurry, when the expected behaviour is to keep the largest possible image.

Hope I've explained everything sufficiently!