I have a profile picture system which allows image cropping using jCrop. I’ve noticed if the user goes through the process a few times, the crop dimensions are not calculated properly simply because the previous image is still there. I’ve tried the destroy() method from the API , but that doesn’t clear the image source from the .jcrop-holder div and its child image element.
How can I get rid of this easily? Thanks.
I had a similar issue with an old version of jCrop and created a custom destroy function. Here is the gist of it: