Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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:

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ThumbnailFolder property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also