It depends on how you used it. When your write as in the following:
$(window).load(function() {
$('#helloworld').html('Now the page is fully loaded including graphics.');
});
This would work great if you did not have to load the image via an ajax call. You would just need the following markup in your index file:
<img src="path-to-10mb-image" alt="HELLO WORLD">
<div id="helloworld">HELLO WORLD</div>
Now that you are loading the image via ajax you'll have to use the following form of .load():
$(selector).load('myfile.php',function() {
$('#helloworld').html('Now my image is loaded.');
});
Make selector a hidden element and once the image loads make it visible or copy the image and assign it to body. You cannot load an ajax call to body without affecting what's on the page. You are replacing everything on the page with the image --- remember?