Class DefaultUrlBuilder
Used to compose image URLs served by built-in image processor.
Implements
Inherited Members
Namespace: AdaptiveImages.Delivery
Assembly: AdaptiveImages.dll
Syntax
public class DefaultUrlBuilder : IAdaptiveImageUrlBuilder
Methods
GetImageUrl(ImageRenderSettings)
Composes URL to an image with any transformations applied.
Declaration
public string GetImageUrl(ImageRenderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
ImageRenderSettings | settings | Must have Id and Provider properties set, otherwise an ArgumentException will be thrown. |
Returns
Type | Description |
---|---|
string | Relative path to image. |