<html> <body> <img id="myI" src="yourimage.gif" alt=""> <script language="JavaScript"> var m = document.getElementById("myI").complete; if (m == true) { alert("The image is fully loaded"); } else { alert("The image is not completely loaded") } </script> </body> </html>