Skip to content

jQuery plugin to resize and crop bigger images and elements inside a container element

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-GPL.txt
MIT
LICENSE-MIT.txt
Notifications You must be signed in to change notification settings

VuongN/jQuery-Fakecrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery-Fakecrop Plugin takes a collection of images and automatically scale them to fit a custom-defined bounding box. This creates a "fake" cropping effect on those images; which produces convincing thumbnails.

For more information, please visit: http://vuongnguyen.com/fake-cropping-images-with-jquery.html

Quick Start:

<script src="/path/to/jquery-library.js"></script>
<script src="/path/to/fakecrop.js"></script>
<script>
	$(document).ready(function () {
		// for a filled square thumbnail
		$('img').fakecrop();
		// for a fixed width/height
		$('img').fakecrop({fill: false});
	});
</script>

About

jQuery plugin to resize and crop bigger images and elements inside a container element

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-GPL.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published