This version is old school.
Please find jQuery plugins on npm.
Cropsy - Image cropper through a moveable viewport
by Adam Krebs
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.