# ui.Thumbnail.setImage

<br />

Sets the ee.Image used to generate the thumbnail.

<br />

Returns this thumbnail.

| Usage | Returns |
|---|---|
| `Thumbnail.setImage(image)` | ui.Thumbnail |

| Argument | Type | Details |
|---|---|---|
| this: `ui.thumbnail` | ui.Thumbnail | The ui.Thumbnail instance. |
| `image` | Image | The image from which to generate the thumbnail. |