Skip to main content


Showing posts from September, 2019

ImageProcessor security config for Umbraco + Azure Storage Emulator

This is only going to work if you're using ImageProcessor with Umbraco to deal with images being loaded from blob storage in the Azure Storage Emulator. Took me a while to get the settings right, the way I figured it out was:

firstly, use Azure Storage Explorer to find the URL for your emulated blob container and make sure that works by requesting from there directlyFind the URL it's attempting to use by catching the ImageProcessingExceptions that get thrown when it can't find the file
Once I had both the correct URL as well as the URL that it was attempting to use, figuring out what to put in the config was just trial and error.  Here's what I ended up with:

<service name="CloudImageService" prefix="media" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web"> <settings> <setting key="Container" value="devstoreaccount1/media"/> <setting key="MaxBytes" …