try using following steps -
create dom
$('<img/>')[0].src = /* ur url */;
then run code onLoad event
$('img').load(function(){
// your code
});
actually browser is smart enough that until the data is not added in dom it doesn't load ..... it doesnt even matter how much time u set for time out , so try creating dom and then on load of img insert it in right place