2016-09-02 5 views

ответ

1

Для этого обычно используется так называемый URL для загрузки. От Firebase documentation on getting a download URL:

storageRef.child('images/stars.jpg').getDownloadURL().then(function(url) { 
    // Get the download URL for 'images/stars.jpg' 
    // This can be inserted into an <img> tag 
    var img = document.createElement('img'); 
    img.setAttribute('src', url); 
    document.body.appendChild(img); 
}).catch(function(error) { 
    console.error(error); 
}); 
Смежные вопросы