Azure Blob Image Display on Local But not on Production

DMur 46 Reputation points

I have an image in an Azure Blob Store. If I paste the URL of the image into by Browser, it is visible. I can also see it in my web app on local. However, when I deploy to my non-live slot it is not visible. I have not tried swapping to live, but assume it would not be visible there also.

You can see here that the image is working if you paste the url into the browser



Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,272 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 42,516 Reputation points Microsoft Employee

    @DMur Can you check the path is configured correctly.

    I think I understand the issue. You are trying to download the image to the desktop( On your PC or VM) - but that will be the desktop of the web server (where you will almost certainly not have permission) and not the desktop of the user (which is probably what you were after). If it is, you can't do that directly. Instead try sending the file to the HTTP Response stream. (I use DownloadToStream which is part of Microsoft.WindowsAzure.StorageClient)

    It could be a permission issue ( SAS permission can be provided ) and try, Let me know the status.

    Additional information: You can refer to this thread which provides some idea on your scenario

    This tutorial is part one of a series. In this tutorial, you'll learn how to deploy a web app. The web app uses the Azure Blob Storage client library to upload images to a storage account. When you're finished, you'll have a web app that stores and displays images from Azure storage:

    If the issue still persist I would like to work closer on this issue

    Looking forward for your reply!


    Please do not forget to 155603-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

0 additional answers

Sort by: Most helpful