Skip to content

cold-logic/cropsy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cropsy.js

cropsy is a jQuery plugin for creating a draggable and zoomable cropper window around an attached image, similar to Twitter's profile image selector. Its name comes from the Staten Island urban legend of Cropsey. Coder beware.

Sample usage

$('#profile-img').cropsy({
  max_scale: 2,
  mask_padding: 40
});

Demo

A demo is available online showing how to use cropsy in conjunction with Fine Uploader. The easiest for is to instantiate a cropsy instance during the uploader's onComplete callback.

Requirements

cropsy's only hard dependency is on jQuery. It also depends on jQueryUI's draggable and slider components, but these should be removed at some point in the future.

About

Draggable, Twitter-like image viewport cropper

Resources

License

Stars

Watchers

Forks

Packages

No packages published