Click or drag to resize
MediaFileInfoProviderGetThumbnailPath Method (String, String, Int32, String)
Returns physical path to the thumbnail folder.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax
C#
public static string GetThumbnailPath(
	string siteName,
	string filePath,
	int libraryId,
	string webFullPath = null
)

Parameters

siteName
Type: SystemString
Site name
filePath
Type: SystemString
File path from database
libraryId
Type: SystemInt32
Media library ID
webFullPath (Optional)
Type: SystemString
Physical path to the root of the web project (e.g. c:\WebProject\), if it is not specified web application physical path is used

Return Value

Type: String
See Also