SaaS CMS has officially launched! Learn more now.

Class ThumbnailHelper

Helper methods when working with thumbnails

Inheritance
System.Object
ThumbnailHelper
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
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.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