Class ThumbnailHelper
Helper methods when working with thumbnails
Inheritance
System.Object
ThumbnailHelper
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class ThumbnailHelper : Object
Properties
ThumbnailExtension
The extension for thumbnails which is '.png'
Declaration
public static string ThumbnailExtension { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
CreateThumbnailUri(Uri, String)
Constructs a thumbnail uri from a blob uri
Declaration
public static Uri CreateThumbnailUri(Uri blobUri, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System. |
blobUri | The source uri to the source blob / image |
System. |
propertyName | The name of the property of the thumbnail |
Returns
Type | Description |
---|---|
System. |
An uri to the thumbnail |