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

When rotating image (due to EXIF orientation) image becomes totally black #3

Open
codedaemon opened this issue May 15, 2018 · 1 comment

Comments

@codedaemon
Copy link

This is because $canvas.width() and $canvas.height() always returns 0. I replaced those entries with canvas.width and canvas.height, and then everything worked fine.

I tested this on Chrome 66.0.3359.170, and jQuery 3.3.1

So if this used to work, some changes in some other package broke it.

@ajgarn
Copy link
Owner

ajgarn commented May 15, 2018

Thanks for your feedback! Probably due to new versions of either jquery or another package as you say.
I'll try your fix out and update master when I get some spare time (if you want you can send a pull request). :)

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

2 participants