https://github.com/loonkwil/jquery.keep-ratio
fork fromKeep Ratio
A jQuery plugin for keeping the aspect ratio
Example usage: http://loonkwil.github.io/jquery.keep-ratio/
Install
Requirements Bower
bower install keep-ratio --save
<!-- For older browsers (http://caniuse.com/#feat=requestanimationframe) -->
How to make your own build
Requirements: NodeJs, Bower, Gulp
bower install
npm install
npm test
gulp dist
or justgulp