Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello
I am having an issue with Umbraco 8 and my /media/ folder pointing to Azure Blob Storage, the problem is only happening on localhost
If I have Image Processor parameters my images redirect to the correct place (Azure Blog Storage cache )
e.g. http://localhost/media/hzlhut3x/video-analysis-laptop.png?rnd=1
But If I don't have any URL parameters I I get a 404
e.g. http://localhost/media/hzlhut3x/video-analysis-laptop.png
In Umbraco7, I would have checked FileSystemProviders.config to double check my settings but in Umbraco8 there is no such file, so instead I am double checking my web.config settings are correct:
<add key="AzureBlobFileSystem.ContainerName:media" value="media" /> <add key="AzureBlobFileSystem.RootUrl:media" value="https://[redacted].blob.core.windows.net/" /> <add key="AzureBlobFileSystem.ConnectionString:media" value="DefaultEndpointsProtocol=https;AccountName=[redacted];AccountKey=[redacted]" /> <add key="AzureBlobFileSystem.MaxDays:media" value="365" /> <add key="AzureBlobFileSystem.UseDefaultRoute:media" value="true" /> <add key="AzureBlobFileSystem.UsePrivateContainer:media" value="false" />
I've checked inside Azure > Storage Accounts and the blobs exist with the correct permission (blob), and if i click on the file I can see the image
Any tips?
Yes this need to be added to web.config.
This article will help you to setup Azure Blob Storage correctly on Umbraco 8.
https://our.umbraco.com/documentation/Extending/FileSystemProviders/Azure-Blob-Storage/
Hope this helps and let me know if you need any further assistance.
Regards,
Shaishav
https://www.digitallymedia.com/
Hi Shaishav
Yes, I added those settings to my web.config and followed the instructions and I am still having the same issue.
It's happening on four of my websites that run Umbraco 8.
It's not happening on my staging environment - only on localhost
Andrew
I had the exact same problem. Without parameters, I get a 404, but with parameters, the image works fine.
I found the solution in a faulty Media/web.config, according to this thread - https://our.umbraco.com/forum/using-umbraco-and-getting-started/97860-svg-media-files-not-loading-from-azure-blob-storage
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Setting up Azure Blob Storage
Hello
I am having an issue with Umbraco 8 and my /media/ folder pointing to Azure Blob Storage, the problem is only happening on localhost
If I have Image Processor parameters my images redirect to the correct place (Azure Blog Storage cache )
e.g. http://localhost/media/hzlhut3x/video-analysis-laptop.png?rnd=1
But If I don't have any URL parameters I I get a 404
e.g. http://localhost/media/hzlhut3x/video-analysis-laptop.png
In Umbraco7, I would have checked FileSystemProviders.config to double check my settings but in Umbraco8 there is no such file, so instead I am double checking my web.config settings are correct:
I've checked inside Azure > Storage Accounts and the blobs exist with the correct permission (blob), and if i click on the file I can see the image
Any tips?
Yes this need to be added to web.config.
This article will help you to setup Azure Blob Storage correctly on Umbraco 8.
https://our.umbraco.com/documentation/Extending/FileSystemProviders/Azure-Blob-Storage/
Hope this helps and let me know if you need any further assistance.
Regards,
Shaishav
https://www.digitallymedia.com/
Hi Shaishav
Yes, I added those settings to my web.config and followed the instructions and I am still having the same issue.
It's happening on four of my websites that run Umbraco 8.
It's not happening on my staging environment - only on localhost
Andrew
I had the exact same problem. Without parameters, I get a 404, but with parameters, the image works fine.
I found the solution in a faulty Media/web.config, according to this thread - https://our.umbraco.com/forum/using-umbraco-and-getting-started/97860-svg-media-files-not-loading-from-azure-blob-storage
is working on a reply...