# Workshop Item Preview File

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

```csharp
public struct WorkshopItemPreviewFile
```

Used by the [WorkshopItemData ](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-data)object.

### Fields and Attributes

<table><thead><tr><th width="214.47090837902758">Type</th><th width="150">Name</th><th width="375.82373346952215">Comment</th></tr></thead><tbody><tr><td>string</td><td>source</td><td>The file path</td></tr><tr><td>EItemPreviewType</td><td>type</td><td><p>The file type</p><p>This should always be image, if your using YouTube videos then use the YouTube Video ID array. Other types are listed by Valve as not yet implamented.</p></td></tr></tbody></table>
