MediaLibraryHelperGetPreviewFileName Method |
Returns media file preview file name.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax 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:
StringSee Also