I'm using an Azure storage account with CDN to store and serve all media items uploaded to my site.
When naming the Blob conatiner "Media" the image cropper works, however I want to use the same storage account for multiple sites. As such I renamed the the Blob container to the sites name and now the image cropper has stopped working, but all other images are served fine. This wasn't an issue until changing the Blob container name away from "Media".
The prefix is the path that ImageProcessor.Web CloudService will monitor for requests so in this case your want requests to /media/* to be picked up and requested from blob storage
Image Cropper and Azure Bob CDN
I'm using an Azure storage account with CDN to store and serve all media items uploaded to my site.
When naming the Blob conatiner "Media" the image cropper works, however I want to use the same storage account for multiple sites. As such I renamed the the Blob container to the sites name and now the image cropper has stopped working, but all other images are served fine. This wasn't an issue until changing the Blob container name away from "Media".
My Cache Config as follows:
Any thoughts on this would be appreciated.
Thanks
Did you also update FileSystemProviders.config and imageprocessor/security.config?
Hi Jeavon,
I've updated them following the documentation on our and they are as follows:
Would I also need to set the umbracoMediaPath appSeting in my web.config?
In security.config this is not correct
It should be
Awesome, that fixed the issue. As i assumed it to be the path to the image location, I changed it without fully understanding why.
Out of interest, why is that set to the Umbraco media path and not the blob container name?
Thanks for the help!
The prefix is the path that ImageProcessor.Web CloudService will monitor for requests so in this case your want requests to /media/* to be picked up and requested from blob storage
is working on a reply...