Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onAfterImgCrop Response #17

Closed
aidanshealy opened this issue May 6, 2014 · 1 comment
Closed

onAfterImgCrop Response #17

aidanshealy opened this issue May 6, 2014 · 1 comment

Comments

@aidanshealy
Copy link

I am having a hard time bringing back the URL of the image on the onAfterImgCrop() callback. I figured I would just make a call for the URL, but nothing is coming back. I want to display multiple versions of the same image.

I am making the call via:

onAfterImgCrop:function(response){
console.log(response);
// show other divs with the same image inside of it.

}

I am getting undefined in the console log.

I assume that the crop json response isn't getting passed back to the front. I am trying to get the URL to display it.

Is that not really possible to do with how the onAfterImgCrop() callback is setup?

@bretterer
Copy link

the call function in the js has to have two variables.... the second variable is the one that show in response of your console. I spent a day trying to figure this one out.

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

No branches or pull requests

3 participants