A simple lightweight jQuery plugin that makes images cover their wrappers perfectly.
HTML
<div>
<img src="image.png" class="cover-my-wrapper">
</div>
Include the script in your page and apply the plugin like this
jQuery('.cover-my-wrapper').coverImage();
Released under the MIT license.