display a loading box while connecting to server and downloading the image