Click or drag to resize
MediaLibraryHelperGetPreviewFileName Method
Returns media file preview file name.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax
C#
public static string GetPreviewFileName(
	string fileName,
	string fileExtension,
	string previewExtension,
	string siteName,
	string previewSuffix = null
)

Parameters

fileName
Type: SystemString
File name
fileExtension
Type: SystemString
File extension
previewExtension
Type: SystemString
File preview extension
siteName
Type: SystemString
Site name
previewSuffix (Optional)
Type: SystemString
Preview suffix

Return Value

Type: String
See Also