---
title: "Discussion on \"Upload Picture and get download URL\" | Hashnode"
description: "Discussion on \"Upload Picture and get download URL\". Use getDownload as promise not observable.\nfirebase.storage().ref().child(‘some text’).getDownloadURL() .then(response => this.someTextUrl = response) .catch(error => console.log(‘error’, error))\ncheck this out for more\nhttps://www.javascripttuts.com..."
url: "https://hashnode.com/posts/upload-picture-and-get-download-url-adb65a44e8eb/632dea913a049a0d9db74291"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Upload Picture and get download URL](https://blog.junaidahmed.dev/upload-picture-and-get-download-url-adb65a44e8eb?utm_source=hashnode&utm_medium=feed)

Use getDownload as promise not observable. firebase.storage().ref().child(‘some text’).getDownloadURL() .then(response => this.someTextUrl = response) .catch(error => console.log(‘error’, error)) check this out for more https://www.javascripttuts.com...

Aug 9, 2018 · 1 min read · blog.junaidahmed.dev  
Read the article

## Written by

[Junaid Ahmed](https://hashnode.com/@junaidahmed)

@junaidahmed

  
[View profile](https://hashnode.com/@junaidahmed)

A half-stack JavaScript developer with a focus on the frontend.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
