Click here to Skip to main content
15,887,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm using the Image Resizer imageresizing.net. But, when I installed DiskCache plugin to serve cached images, an error occurs:
Field not found: 'ImageResizer.Configuration.PluginConfig.LoggingAvailable'.

Here is my web.config configuration for resizer tag:
XML
<code> <resizer>
    <clientcache minutes="0|1440" />
    <plugins>
      <remove name="DefaultEncoder" />
      <remove name="NoCache" />
      <remove name="ClientCache" />
      <add name="DefaultEncoder" />
      <add name="NoCache" />
      <add name="ClientCache" />
      <add name="DiskCache" />
      <diskCache dir="~/imagecache" autoClean="false" hashModifiedDate="true" enabled="true"
   subfolders="32" cacheAccessTimeout="15000" asyncWrites="false" asyncBufferSize="10485760" />

      <cleanupStrategy startupDelay="00:05" minDelay="00:00:20" maxDelay="00:05"
        optimalWorkSegmentLength="00:00:04"
        targetItemsPerFolder="400" maximumItemsPerFolder="1000"
        avoidRemovalIfCreatedWithin="24:00" avoidRemovalIfUsedWithin="4.00:00"
        prohibitRemovalIfUsedWithin="00:05" prohibitRemovalIfCreatedWithin="00:10" />
    </plugins>
  </resizer></code>


posted similar on: Stackoverflow
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900