jQuery Plugin For Dynamic Thumbnail Generator With Correct Aspect Ratio - Thumbnail Cut

File Size: 22.9 KB
Views Total: 9021
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Dynamic Thumbnail Generator With Correct Aspect Ratio - Thumbnail Cut

Thumbnail Cut is a minimalist jQuery plugin used to generate thumbnails by cropping and centering images with correct aspect ratios. Helps you create a neat, aligned thumbnail grid where every image has the same size.

Basic usage:

1. Include the latest version of jQuery JavaScript library and the jQuery thumbnail cut plugin at the bottom of the webpage.

<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="jquery-thumbnail-cut.js"></script>

2. Just add the class 'thumb' to image's wrapper and we're done.

<div class="thumb"><img src="demo.jpg"></div>

This awesome jQuery plugin is developed by haya3. For more Advanced Usages, please check the demo page or visit the official website.