# ThumbnailOptions

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ThumbnailOptions/

Struct for thumbnail options.

- **Full name:** `MFiles.ThumbnailOptions`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-is_thumbnail_feature_on"></a>`is_thumbnail_feature_on` | `bool` | 1 | True if the whole Thumbnails feature is on. If off, neiher the server nor the client generates thumbnails. |
| <a id="f-is_client_side_generation_on"></a>`is_client_side_generation_on` | `bool` | 2 | True if the client-side thumbnail generation is on. If off, the server still generates thumbnails if bThumbnailFeatureOn is true. |
| <a id="f-size"></a>`size` | [`Size`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Size/index.md) | 3 | The size of thumbnails generated and cached by server. |
| <a id="f-denied_file_extensions"></a>`denied_file_extensions` | repeated `string` | 4 | An array of file extensions (not including dot) for which thumbnail generation is not allowed. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCThumbnails.GetThumbnailOptions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCThumbnails/GetThumbnailOptions/index.md): Gets the vault's thumbnail settings.

<a id="used-in-fields"></a>

## Used in fields

- [`GetThumbnailOptionsResponse.pthumbops`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCThumbnails/GetThumbnailOptions/index.md#response): The thumbnail settings of the vault. See [ThumbnailOptions](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ThumbnailOptions/index.md).
