Class ImagingSettings
Typed configuration options for imaging settings.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class ImagingSettings
Properties
View SourceCache
Gets or sets a value for imaging cache settings.
Declaration
public ImagingCacheSettings Cache { get; set; }
Property Value
Type | Description |
---|---|
ImagingCacheSettings |
HMACSecretKey
Gets or sets a value for the Hash-based Message Authentication Code (HMAC) secret key for request authentication.
Declaration
public byte[] HMACSecretKey { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Remarks
Setting or updating this value will cause all existing generated URLs to become invalid and return a 400 Bad Request response code. When set, the maximum resize settings are not used/validated anymore, because you can only request URLs with a valid HMAC token anyway.
Resize
Gets or sets a value for imaging resize settings.
Declaration
public ImagingResizeSettings Resize { get; set; }
Property Value
Type | Description |
---|---|
ImagingResizeSettings |