except jquery lazy load, how to add a `loading.gif` when php images are loading?
<p>I do not want to use jquery lazyload. because I want loading done all the pictures then show at the same time, not loading one by one.</p>

<p>I know some thing like this, but how to make a judge when all the images are loaded, then remove the <code>loading.gif</code>? thanks.</p>

<pre><code>$("div#content").prepend("&lt;img src='../loading.gif' class='ldrgif' / &gt;");//add a image
...//loading images in div#content
$(this).find("img.ldrgif").remove(); //remove it, how to make a judge all the images are loaded?
</code></pre>
