So, I am uploading an image into firebase and then retrieving it back, storing the images into localstorage, and then displaying it. But when I try to use the same piece of code