资 源 简 介
This project no longer maintained, please use other alternatives like imgLiquid!
Resize & Crop
Handy jQuery plugin for client-side uniform resizing & cropping. Ideal for avatars and images with similar size (more different sizes—the bigger bandwidth overhead).
Ideal use
You can use plugin for example to transform profile pictures of Facebook users (profile avatars). They are similar in size but not the same, but if you want to show them in a grid you probably want them to be same height (or/and width).
See example with cats to get better understanding what Resize & Crop can do for you.
Example how Resize & Crop works:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报