snippet to fill an image to a container and retain it's aspect ratio
it requires jQuery
an example of it's usage can be seen here: http://jsfiddle.net/AumpW/
aml25 / imagefiller Goto Github PK
View Code? Open in Web Editor NEWsnippet to fill an image to a container and retain it's aspect ratio