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

Incorrect image ratios in Webkit #19

Open
fautz opened this issue Oct 23, 2014 · 0 comments
Open

Incorrect image ratios in Webkit #19

fautz opened this issue Oct 23, 2014 · 0 comments

Comments

@fautz
Copy link

fautz commented Oct 23, 2014

Using .width() and .height() in Webkit browsers returns sizing based on visual dimensions, not actual dimensions. This is a problem when trying to crop very large images. The HTML5 properties 'naturalHeight' and 'naturalWidth' can be used to determine the proper ratios.

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

1 participant