jQuery Fit Image
Resize image to fit container
Getting Started
Download the production version or the development version.
In your web page:
<img src="image.jpg" fitimage="200,300" id="container" /> <script src="jquery.js"></script> <script src="dist/jquery.fitimage.min.js"></script> <script> jQuery(function($) { $('#container').fitimage(); }); </script>