Croppie is a javascript plugin that resizes and changes the orientation of an image.

In the Codepen below, I show everything possible with Croppie.

See the Pen Croppie.js : Overview by Detiege (@cromartie) on CodePen.

For more information, see the plugin documentation : Croppie