Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Cropper Metronic 8.3.0


Good morning,
I found an error with my Cropper.js configuration and was trying to find a solution when I discovered that the current version had been updated from Cropper.js v1.6.2 to Cropper.js v2.0.0, but without any reports in the ChangeLog.
The new version behaves differently, especially because, in order to call it in JS, I now have to use "cropper = new Cropper.default(image, …)" instead of "cropper = new Cropper(image, …)".
Additionally, in your documentation (https://preview.keenthemes.com/html/metronic/docs/general/cropper), you are still using version v1.6.2...
Which version should I use? I would also appreciate being able to study your usage system for v2.0.0.
Thank you.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

It seems latest Cropper has build issues with Metronic's gulp/webpack environemnt. So we suggest you to stick to the previous version v1.6.2. Just update your package.json and reinstall the prev version. We will check the new cropped version in a future update and see if there is a workaround.

Regards,
Sean


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(