django-awesome-avatar
django-awesome-avatar copied to clipboard
Incorrect image ratios in Webkit
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.