Skip to content

Commit 7a9d013

Browse files
Add updated config Fix #49
1 parent 577ea43 commit 7a9d013

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,24 @@ As of ImageProcessor.Web version [4.3.2](https://www.nuget.org/packages/ImagePro
181181
</services>
182182
</security>
183183
```
184+
If using a version of ImageProcessor.Web version [4.5.0](https://www.nuget.org/packages/ImageProcessor.Web/4.5.0) the configuration details will need to be configured as follows:
185+
186+
```xml
187+
<?xml version="1.0"?>
188+
<security>
189+
<services>
190+
<service name="LocalFileImageService" type="ImageProcessor.Web.Services.LocalFileImageService, ImageProcessor.Web"/>
191+
<service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">
192+
<settings>
193+
<setting key="Container" value="media"/>
194+
<setting key="MaxBytes" value="8194304"/>
195+
<setting key="Timeout" value="30000"/>
196+
<setting key="Host" value="http://[myAccountName].blob.core.windows.net/media"/>
197+
</settings>
198+
</service>
199+
</services>
200+
</security>
201+
```
184202

185203
Be sure to install the [AzureBlobCache](http://imageprocessor.org/imageprocessor-web/plugins/azure-blob-cache/) plugin to get the most out of the package.
186204

0 commit comments

Comments
 (0)