---
title: SalesforceThumbnail component
slug: '1088'
canonical_url: https://docs.coveo.com/en/1088/
collection: coveo-for-salesforce
source_format: adoc
---
# SalesforceThumbnail component
The `SalesforceThumbnail` component is used in result templates to display a thumbnail preview for Salesforce content documents.
It's included by default in Document templates.
## Options
### `width`
Specifies the width of the thumbnail.
The default value is `120px`.
```xml
```
### `height`
Specifies the height of the thumbnail.
The default value is `auto`, meaning that it scales with the given width.
```xml
```
## Methods
This component doesn't provide any methods.
## Usage
This component should be used inside a result template.
> **Important**
>
> Objects without attachments may fail to render a preview.
> You should only use it for Salesforce Content documents.
```xml
```