Display a loading image before the image is loaded