# file-manager-custom-thumbnails

> File manager large icons view that replaces default file and folder icons with custom thumbnails.

**Framework:** angular  **Component:** FileManager  **Variant:** custom-thumbnails

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/angular/file-manager-custom-thumbnails.json
```

**Install Package(s)**

```bash
npm install @syncfusion/ej2-angular-filemanager
```

**Notes**

- Syncfusion release: 2026 Volume 3 (v35.1.37)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/file-manager-custom-thumbnails/file-manager.component.html

```html
<div class="sample-container">
    <ejs-filemanager id='custom' [ajaxSettings]='ajaxSettings'  [toolbarSettings]="toolbarSettings" [contextMenuSettings]="contextMenuSettings" [view]='view' [showThumbnail]='false'>
    </ejs-filemanager>
</div>

```

### src/components/file-manager-custom-thumbnails/file-manager.component.ts

```typescript
import { Component, ViewEncapsulation } from '@angular/core';
import { NavigationPaneService, ToolbarService, DetailsViewService, FileManagerModule } from '@syncfusion/ej2-angular-filemanager';
/**
 * File Manager custom thumbnail sample
 */
@Component({
    selector: 'control-content',
    templateUrl: 'file-manager.component.html',
    styleUrls: ['../file-manager-custom-thumbnails.style.css'],
    encapsulation: ViewEncapsulation.None,
    providers: [NavigationPaneService, ToolbarService, DetailsViewService],
    standalone: true,
    imports: [FileManagerModule]
})

export class CustomThumbnailsController {
    public ajaxSettings!: object;
    public toolbarSettings!: object;
    public contextMenuSettings!: object;
    public view!: string;
    public hostUrl: string = 'https://physical-service.syncfusion.com/';
    public ngOnInit(): void {
        this.ajaxSettings = {
            url: this.hostUrl + 'api/FileManager/FileOperations',
            getImageUrl: this.hostUrl + 'api/FileManager/GetImage',
            uploadUrl: this.hostUrl + 'api/FileManager/Upload',
            downloadUrl: this.hostUrl + 'api/FileManager/Download'
        };
        this.toolbarSettings = { items: ['NewFolder', 'SortBy', 'Cut', 'Copy', 'Paste', 'Delete', 'Refresh', 'Download', 'Rename', 'Selection', 'View', 'Details',] };
        this.contextMenuSettings = {
            file: [ 'Cut', 'Copy', '|', 'Delete', 'Download', 'Rename', '|', 'Details'],
            layout: ['SortBy', 'View', 'Refresh', '|', 'Paste', '|', 'NewFolder', '|', 'Details', '|', 'SelectAll'],
            visible: true
        };
        this.view = "LargeIcons";
    }
}

```
