Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    Cache

    Gets or sets a value for imaging cache settings.

    Declaration
    public ImagingCacheSettings Cache { get; set; }
    Property Value
    Type Description
    ImagingCacheSettings
    View Source

    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.

    View Source

    Resize

    Gets or sets a value for imaging resize settings.

    Declaration
    public ImagingResizeSettings Resize { get; set; }
    Property Value
    Type Description
    ImagingResizeSettings
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Cache
      • HMACSecretKey
      • Resize
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX