Imagefill.js is a jQuery plugin by John Polacek for making images fill their containers and centered, a feature that could be useful in a responsive website. You can use this plugin in 3 different ways namely simple, grid and different sizes.
- Simple – A single image sitting in a single block container .
- Grid – A series of similar sized images arranged in a regular grid form.
- Different sizes – A series of variable sized images arranged in a complex grid form such as using jQuery Masonry.
Hit view more to learn more about the implementation. Resize your browser to see how the demo works on different screen sizes.