-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
imageDimensions function not return real size of image #1646
Comments
Can you provide a sample image or steps to reproduce in a jsfiddle? |
@danialfarid This one is weird and it's hyper-specific to a computer's hardware/software so it's not reproducible consistently. Basically, in certain cases, the |
Watching |
Fixed at 12.2.8 |
Thank you for the quick fix/response! Wanted to get you a PR but hands are tied. |
As the title, imageDimensions function not return real size of image, I think should replace clientWidth and clientHeight with naturalWidth and naturalHeight
The text was updated successfully, but these errors were encountered: