how to download an image from firebase storage then reupload it but with different name using JavaScript
// Create a reference with an initial file path and name const pathReference = sRef(st, 'RealTime_Recipes_Images/' + localStorage.getItem("rec_title_val") + '.png'); var blob; getDownloadURL(pathReference) .then((url) => { console.log(url); // This can be downloaded directly: const xhr = new XMLHttpRequest(); xhr.responseType =…