Skip to content

Commit fe4f5c3

Browse files
Adding better ImageProcessor sample.
1 parent c6bd50e commit fe4f5c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,18 @@ The following configuration is required in your `web.config` to enable static fi
108108

109109
## Combining with ImageProcessor
110110

111-
As of ImageProcessor.Web version [4.3.2](https://www.nuget.org/packages/ImageProcessor.Web/4.3.2) a new [`IImageService`](http://imageprocessor.org/imageprocessor-web/extending/#iimageservice) implementation has been available called `CloudImageService`. To enable that service and pull images directly from the cloud simply install the [configuration package](https://www.nuget.org/packages/ImageProcessor.Web.Config/) and replace the `LocalFileImageService`setting with the following:
111+
As of ImageProcessor.Web version [4.3.2](https://www.nuget.org/packages/ImageProcessor.Web/4.3.2) a new [`IImageService`](http://imageprocessor.org/imageprocessor-web/extending/#iimageservice) implementation has been available called `CloudImageService`. To enable that service and pull images directly from the cloud simply install the [configuration package](https://www.nuget.org/packages/ImageProcessor.Web.Config/) and replace the `CloudImageService`setting with the following:
112112

113113
```xml
114114
<?xml version="1.0"?>
115115
<security>
116116
<services>
117-
<!--Disable the LocalFileImageService and enable this one when using virtual paths. -->
118-
<service name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">
117+
<service name="LocalFileImageService" type="ImageProcessor.Web.Services.LocalFileImageService, ImageProcessor.Web"/>
118+
<service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">
119119
<settings>
120120
<setting key="MaxBytes" value="8194304"/>
121121
<setting key="Timeout" value="30000"/>
122-
<setting key="Host" value="http://[myAccountName].blob.core.windows.net/"/>
122+
<setting key="Host" value="http://[myAccountName].blob.core.windows.net/media/"/>
123123
</settings>
124124
</service>
125125
</security>

0 commit comments

Comments
 (0)