Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

cannot upload new images again and again #44

Open
azadnio opened this issue Jun 19, 2017 · 2 comments
Open

cannot upload new images again and again #44

azadnio opened this issue Jun 19, 2017 · 2 comments

Comments

@azadnio
Copy link

azadnio commented Jun 19, 2017

once uploaded the Image there is now way to upload another image.

@ravishan110
Copy link

i am also facing the same issue.. any solution for this?

@Cassie-Yu
Copy link

may seem stupid, but it works for me

$scope.onFile = function(blob){
    if(blob){
        $scope.dataUrl = undefined;
        $timeout(function(){
                Cropper.encode((file = blob)).then(function (dataUrl){
                    $scope.dataUrl = dataUrl;
                    $timeout(showCropper);
                });},100)
    }
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants