MediaFileInfoProviderGetThumbnailPath Method (String, String, String, String, Int32, Int32, Boolean, Boolean) |
Returns physical path to the thumbnail.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax public static string GetThumbnailPath(
string siteName,
string fileName,
string fileExtension,
string path,
int width,
int height,
bool addHiddenFolder,
bool addFileExtension
)
Parameters
- siteName
- Type: SystemString
Site name of the site thumbnail is related to - fileName
- Type: SystemString
File name of the file thumbnail is related to - fileExtension
- Type: SystemString
Extension of the file thumbnail is related to - path
- Type: SystemString
Path of the original file - width
- Type: SystemInt32
Width of the thumbnail file - height
- Type: SystemInt32
Height of the thumbnail file - addHiddenFolder
- Type: SystemBoolean
Indicates if hidden folder should be inserted into path - addFileExtension
- Type: SystemBoolean
Indicates if file extension should be inserted into thumbnail file name
Return Value
Type:
StringSee Also