Download the PHP package tobento/js-cropper without Composer
On this page you can find all versions of the php package tobento/js-cropper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tobento/js-cropper
More information about tobento/js-cropper
Files in tobento/js-cropper
Download tobento/js-cropper
More information about tobento/js-cropper
Files in tobento/js-cropper
Vendor tobento
Package js-cropper
Short Description Simple Image Cropper.
License MIT
Homepage https://www.tobento.ch
Package js-cropper
Short Description Simple Image Cropper.
License MIT
Homepage https://www.tobento.ch
Please rate this library. Is it a good library?
Informations about the package js-cropper
JS Cropper
Simple JavaScript Image Cropper.
You may visit the docs.tobento.ch/js-cropper page for demo.
Table of Contents
- Getting started
- Browser support
- Documentation
- Basic Usage
- Options
- Methods
- Events
- Translations
- Credits
Getting started
Browser support
Modern browser only.
Documentation
Basic Usage
1. Include CSS/JS
2. Register
Use the attribute to automatically register the images.
Thats all.
You may get the crop data
Manually creating
Instead of using the attribute to register the crop automatically, you can create the crop manually by using the function:
Options
Option | Value | Description |
---|---|---|
A unique id. | ||
, or | A target image width and/or height. (optional) | |
Crop data. (optional) | ||
or | If to keep the image ratio. (optional) |
Methods
Events
Event | Description |
---|---|
This event is fired after the crop area is started being moved. | |
This event is fired after the crop area is stopped being moved. | |
This event is fired while moving the crop area. |
Translations
Credits
- Tobias Strub
- All Contributors
All versions of js-cropper with dependencies
PHP Build Version
Package Version
No informations.
The package tobento/js-cropper contains the following files
Loading the files please wait ....