Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Preview not working #19

Closed
crpr opened this issue May 19, 2014 · 2 comments
Closed

Preview not working #19

crpr opened this issue May 19, 2014 · 2 comments

Comments

@crpr
Copy link

crpr commented May 19, 2014

I can´t seem to make a working preview. How should the img preview tags be configured to be updated?

$('.img-container img').cropper({
aspectRatio: 16/9,
preview: ".img-preview",
done: function(data) {
console.log(data);
}
});

This is my code and the preview image has this tag.

@andrewhavens
Copy link

Please provide a sample of your HTML. My guess is that's where your problem is.

@crpr
Copy link
Author

crpr commented May 19, 2014

You were right. I tought that i needed to create the for the preview. No need for that and it is now working. Thank you.

@crpr crpr closed this as completed May 19, 2014
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

2 participants