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 IImageUrlGeneratorProperties
View SourceSupportedImageFileTypes
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 SourceGetImageUrl(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. |