jaysalvat/vegas — pull request #15 by mourner (2012-05-07 15:08:01+00:00)
Title: Fix rare miscalculation of dimensions on latest Chrome

Hi, thanks for the wonderful work!
Under Chrome 18/Win, quite often the slides were resized incorrectly because `$img.height()/width()` returned 0. This small change fixed the issue for me (now the load callback is only called after the image knows its dimensions).