Documentation v8.2.5

Downloads 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 codesnippet above, along with our other global bundles.
  • Add the HTML template provided in our examplebelow.

Cropper.js Example

Visit Cropper.js's official websitefor more examples.
px
px
px
px
deg