How to display a wait gif until image is fully loaded
<p>Most popular browsers, while rendering an image, they display it line-by-line top-to-bottom as it loads.</p>

<p>I have a requirement that a wait gif should be displayed while the image is loading.
When the image is fully loaded then it should be displayed instead of the wait gif.</p>
