I'm trying to fill a parent <div>
with an image, while completely ignoring proportions. I know that it will look ugly at certain dimensions, I just want to see if it's possible at this point. As you can see, the image is scaling, rather than stretching to my demands (Chrome): http://jsfiddle.net/qdzaw/61/
Unfortunately, all I can find online is how to do this while maintaining proportions :/
<img class="someimage" src="imgsrc" />
$(window).resize(function() {
$(".someimage").height($(".someimage").parent().height());
$(".someimage").width($(".someimage").parent().width());
});