JQuery plugin to fit images into container
2016-08-23
0 0 0
no vote
Other
Earn points
The aim is to solve the common problem how to fit rectangle into square This plugin accepts a mode parameter "pan" or "fit"
"fit" - fits the image inside the container in a way that alway full image is visible
"pan" - scale image to show the biggest possible area
Usage:
$(selector).imageFit("fit");or$(selector).imageFit("pan");
Demo page: demo
jquery
图像
插件
适合
容器
Related Source Codes
DCT transform the image
0
0
no vote
Image super-resolution implementation
0
0
no vote
image mosaic
0
0
no vote
Three methods of image graying
0
0
no vote
MTF calculation
0
0
no vote
No comment