How to init Croppie ?
See original GitHub issueHello!
Actual Behavior
I need to init your plugin but… i’ve always error : Uncaught Error: Croppie: Can't initialize croppie more than once
Croppie is initialized once. I don’t understand this error…
Steps to Reproduce the Problem
Link: Codepen
- Load a random image and open your console.
- Error :
Uncaught Error: Croppie: Can't initialize croppie more than once
Specifications
- Browser: Chrome
- Version: Version 71.0.3578.98 (Build officiel) (64 bits)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to init croppie several times? · Issue #482 - GitHub
Hello! I need to init and hide (or destroy) your plugin for current element. $('#someID').croppie({ viewport ...
Read more >How to identify plugin (croppie or any other) initialized?
I use croppie for editing pictures before uploading. The task is to destroy and init again this plugin without reloading the page.
Read more >Croppie - a simple javascript image cropper - Foliotek
Croppie is an easy to use javascript image cropper. ... You can initialize Croppie with the following code: var c = new Croppie(document....
Read more >Crop Image with Croppie - Medium
There is two part. first part is setting up a input field to take input from user. A modal Which will be opened...
Read more >test croppie - CodePen
<link href="css/croppie.css" rel="stylesheet" type="text/css">. 20. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Let me be more specific. Change this:
to this
Omg thx you so much! I took the code in a old project and I searched for hours to make it work. It wans’t obvious that it was already “instanced” because there was html in the wrapper. It’s not the usual way to verify. Bless you!