Class ThumbnailHelper
Helper methods when working with thumbnails
Inheritance
System.Object
ThumbnailHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public static class ThumbnailHelper
Properties
ThumbnailExtension
The extension for thumbnails which is '.png'
Declaration
public static string ThumbnailExtension { get; }
Property Value
Type | Description |
---|---|
System.String |
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.Uri | blobUri | The source uri to the source blob / image |
System.String | propertyName | The name of the property of the thumbnail |
Returns
Type | Description |
---|---|
System.Uri | An uri to the thumbnail |