# Editor.ProjectPublisher.SetThumbnail

```csharp
System.Threading.Tasks.Task SetThumbnail(byte[] image)
```

Use this image as the package's thumb instead of the one rendered from its asset - the middle of it, cut
square ([Editor.ProjectPublisher.CropToSquare](/api/Editor.ProjectPublisher/CropToSquare)). Any image a [Sandbox.Bitmap](/api/Sandbox.Bitmap) can read - it goes up as a png. Before
[Editor.ProjectPublisher.PrePublish](/api/Editor.ProjectPublisher/PrePublish), so it's uploaded.

### Parameters

- `image` (`byte[]`)

### Returns

`System.Threading.Tasks.Task`

Declared in [Editor.ProjectPublisher](/api/Editor.ProjectPublisher).
Assembly: `Sandbox.Tools`.
