Skip to main content

HtmlEditorFileManagerCommonSettings.ThumbnailFolder Property

Gets or sets the path to the folder that contains thumbnails used by the File Manager embedded into built-in dialogs.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("~/thumb")]
public string ThumbnailFolder { get; set; }

Property Value

Type Default Description
String "~/thumb"

A String value, specifying the root path of all thumbnails used by the embedded File Manager.

Property Paths

You can access this nested property as listed below:

Object Type Path to ThumbnailFolder
HtmlEditorFileManagerSettingsBase
.CommonSettings .ThumbnailFolder

Remarks

For better performance, content-based thumbnails are stored in the location specified by the ThumbnailFolder property.

Important

Note that the folder that containing thumbnails must be placed physically inside the application folder.

Note

  • By default, thumbnails are created in the public “thumb“ folder that can result an unauthorized access to private files’ thumbnails.
  • Thumbnail folder structure is based on the source folder relative paths. Therefore, if you change the root folder dynamically, incorrect thumbnails can be displayed.

We recommend you dynamically specify a thumbnail folder and set restricted access for these thumbnail folders to prevent the issues described above. To learn more, see the Security Considerations topic.

See Also