cropperjs icon indicating copy to clipboard operation
cropperjs copied to clipboard

Contradictory recommendations for Cropper replacement

Open bkline opened this issue 2 years ago • 3 comments

Describe the bug The Cropper website's home page in some places say that the recommended replacement is jquery-cropper and in other places Cropper.js is identified as the recommended replacement.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://fengyuanchen.github.io/cropper/
  2. Read the banner saying "As of v4.0.0, the core code of Cropper is replaced with Cropper.js. I recommend you to use the jquery-cropper instead of Cropper.
  3. Hover pointer device over Cropper.js in the top menu.
  4. Read the documentation tooltip: "the non-jQuery version of Cropper (recommended)"
  5. Scratch your head and wonder which version is the recommended version.

Expected behavior The Cropper site's home page provides a clear, unambiguous statement of which version is the recommended replacement.

Screenshots image

Desktop (please complete the following information):

  • OS: N/A
  • Browser N/A
  • Version N/A

bkline avatar Jun 26 '22 15:06 bkline

The Cropper.js is more recommended!

fengyuanchen avatar Jul 02 '22 05:07 fengyuanchen

  • What is the difference between Cropper, Cropper.js, and jQuery Cropper?
GitHub Project npm Package Dependencies Created At Status Description
Cropper cropper jquery 2014 Deprecated A simple jQuery image cropping plugin.
Cropper.js cropperjs - 2015 Active JavaScript image cropper.
jQuery Cropper jquery-cropper jquery + cropperjs 2018 Maintaining A jQuery plugin wrapper for Cropper.js.

fengyuanchen avatar Jul 02 '22 05:07 fengyuanchen

Thanks!

bkline avatar Jul 02 '22 10:07 bkline