Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
issue while loading jquery cropzee function in magento2

This is my html file


 require(['jquery','croppr','canvastoblob','FileSaver'],
  function($,croppr,canvastoblob,FileSaver){

$(document).ready(function($) {
    $("#crop").cropzee();
});

var defaultWidth = 210;
$.fn.extend({
    cropzee: function (options = {
    aspectRatio: null,
            maxSize: null,
            minSize: null,
            startSize: [100, 100, '%'],
           .....
           ......
           })
        })

While loading this page show an error in the console like this

index:373 Uncaught TypeError: $(...).cropzee is not a function

Is there any error in the function call or somewhere else? anybody, please help me to fix this error.

Thanks in advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Place this code before end of the file.Fix my issue.

 $("#crop").cropzee();
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!