stowball/jQuery-rwdImageMaps — pull request #87 by 2astalavista (2014-12-31 16:49:58+00:00)
Title: html5 way of getting original sizes

http://stackoverflow.com/questions/318630/get-real-image-width-and-height-with-javascript-in-safari-chrome

the second detection method is wrong, because image need time to load, so w,h variables can remain 0.