T
T
tfosk2021-02-24 19:04:19
JavaScript
tfosk, 2021-02-24 19:04:19

How to download an image from Firebase storage?

Good day, I'm practicing in JavaScript and using Firebase for the backend. The idea is simple - a photo uploader site, i.e. the user selects a photo or gif from the computer, then clicks "upload" and the file goes to Firebase storage. Everything works for me, but I still could not find information on how to download this picture later? Those. I received a link from Firebase storage to the file, but just follow the link - a new tab opens with this image. Put the download attribute to the link - does not help.

Is there a way so that the image is not just opened by pressing the download button , but it is immediately downloaded to the computer.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question