Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Collapse]File Management
   [Expand]Product Information
   [Collapse]File Manager
     ASPxFileManager Overview
    [Collapse]Concepts
      Thumbnails
      View Modes
      Custom Columns
      Toolbar
      Uploading Files
      File Download
      Context Menu
      Access Control
     [Expand]File System Providers
      Security Issues
    [Expand]Visual Elements
    [Expand]Member Tables
    [Expand]Examples
   [Expand]File Upload
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Thumbnails

Expanded Image Thumbnails

ASPxFileManager automatically creates thumbnails for image files with the following file extensions:

  • bmp
  • gif
  • ico
  • jpg
  • jpeg
  • png

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

Note

The folder that contains thumbnails must be placed physically inside the application folder.

Expanded Default Thumbnails

ASPxFileManager provides the default thumbnails for some file types listed below.

File Extension Default Thumbnail
txt
rtf
doc
docx
odt
xls
xlsx
ods
ppt
pptx
odp
pdf
other extensions, where thumbnails are not defined

You can change the last thumbnail via the FileManagerImages.File property.

Expanded Custom Thumbnails

In addition to an automatically created and default thumbnail, ASPxFileManager allows you to provide custom thumbnails by handling the ASPxFileManager.CustomThumbnail server event. This event allows you to define a custom manner in which all or certain files should be visually represented in folders. Within the event's handler, a currently processed item can be accessed and identified by using the FileManagerThumbnailCreateEventArgs.Item property, and a custom thumbnail can be defined for the file via the FileManagerThumbnailCreateEventArgs.ThumbnailImage property.

In the example below, the CustomThumbnail event is handled to analyze file extensions and represent each file type using the corresponding custom thumbnail image.

Expanded See Also

How would you rate this topic?​​​​​​​