private static void SetupImageResizer(Config config)
        {
            if (ImageResizerSettings.License != null)
            {
                new StaticLicenseProvider(ImageResizerSettings.License).Install(config);
            }

            new AzureReader2Plugin(AzureReaderSettings.ToNameValueCollection()).Install(config);

            if (DiskCacheSettings.Enabled)
            {
                var diskCache = new DiskCache
                {
                    AsyncWrites = DiskCacheSettings.AsyncWrites
                };

                diskCache.Install(config);
            }
        }