Type Presets
Namespace ImageResizer.Plugins.Basic
Interfaces IPlugin, IQuerystringPlugin, IIssueProvider, ISettingsModifier
Public static methods
NameValueCollection FilterQuerystring(NameValueCollection s, bool keepHmacAndUrl64)
Returns an new NameValueCollection instance that only includes the "preset" and ("hmac" and "urlb64", if specified) querystring pairs from the specified instance.
Public properties
bool OnlyAllowPresets get; set;
If true, the plugin will block all commands except those specified in a preset, and the &preset command itself.
Only applies to InterceptModule (the URL API). Does not apply to ImageBuilder.Build calls. To replicate the behavior, simply prevent any querystring keys except 'preset' from being passed to ImageBuilder.Build.