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
I can't seem to get the image processor to work on a website I have setup.
From all the examples I see I can't seem to find one that doesn't use CDN but only uses the blob.
Is it mandatory? If not, why can't I make image processor work?
security.config
<?xml version="1.0" encoding="utf-8"?> <security> <services> <!-- <service name="LocalFileImageService" type="ImageProcessor.Web.Services.LocalFileImageService, ImageProcessor.Web" /> --> <service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web"> <settings> <!-- <setting key="Container" value="website-staging"/> --> <setting key="MaxBytes" value="8194304"/> <setting key="Timeout" value="30000"/> <setting key="Host" value="https://livestorage.blob.core.windows.net/website-staging/"/> </settings> </service> </services> </security>
cache.config
<?xml version="1.0" encoding="utf-8"?> <caching currentCache="DiskCache"> <caches> <cache name="DiskCache" type="ImageProcessor.Web.Caching.DiskCache, ImageProcessor.Web" maxDays="365" browserMaxDays="7" trimCache="false"> <settings> <setting key="VirtualCachePath" value="~/app_data/cache"/> </settings> </cache> </caches> </caching>
web.config
... <!--AzureBlobFileSystem--> <add key="AzureBlobFileSystem.ConnectionString:media" value="DefaultEndpointsProtocol=https;AccountName=livestorage;AccountKey=..." /> <add key="AzureBlobFileSystem.ContainerName:media" value="website-staging" /> <add key="AzureBlobFileSystem.RootUrl:media" value="https://livestorage.blob.core.windows.net/" /> <add key="AzureBlobFileSystem.MaxDays:media" value="365" /> <add key="AzureBlobFileSystem.UseDefaultRoute:media" value="true" /> ...
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Is CDN mandatory when using Azure Blob FileSystem with ImageProcessor?
I can't seem to get the image processor to work on a website I have setup.
From all the examples I see I can't seem to find one that doesn't use CDN but only uses the blob.
Is it mandatory? If not, why can't I make image processor work?
security.config
cache.config
web.config
is working on a reply...