``$(document).ready`` is fired when the DOM is ready - so before images are loaded.
can you please be more detailed why this should fix the problem? Shouldn't we use ``$(window).load`` then? 

... and ``$(this)`` changes in the new method you've inserted.