we need a script that attaches to an image so when the image is loading on a browser the loading image pops up (preferably a spinning wheel) and then disappears when the image loads.