Added a spinner in order to indicate whether the image is loading or not