Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IImageUrlGenerator

    Exposes a method that generates an image URL based on the specified options.

    Namespace: Umbraco.Cms.Core.Media
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IImageUrlGenerator

    Properties

    View Source

    SupportedImageFileTypes

    Gets the supported image file types/extensions.

    Declaration
    IEnumerable<string> SupportedImageFileTypes { get; }
    Property Value
    Type Description
    IEnumerable<System.String>

    The supported image file types/extensions.

    Methods

    View Source

    GetImageUrl(ImageUrlGenerationOptions)

    Gets the image URL based on the specified options.

    Declaration
    string GetImageUrl(ImageUrlGenerationOptions options)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions options

    The image URL generation options.

    Returns
    Type Description
    System.String

    The generated image URL.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • SupportedImageFileTypes
    • Methods
      • GetImageUrl(ImageUrlGenerationOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX