Documentation v1.0.2

Preview

Overview

Cropper.js is a JavaScript image cropper. For more info see the official siteand the Github repository.

Usage

Cropper.js's style and script bundles are separate from our global bundle and required to be included and initialized manually on related pages.
<link href="assets/plugins/custom/cropper/cropper.bundle.css" rel="stylesheet" type="text/css" />
<script src="assets/plugins/custom/cropper/cropper.bundle.js"></script>

Initialization

  • Cropper.js's CSS and Javascript is required to be added into the page via the usage code snippet above, along with our other global bundles.
  • Add the HTML template provided in our example below.

Cropper.js Example

Visit Cropper.js's official website for more examples.
px
px
px
px
deg
Preview Get Help Buy Now