> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-preview-file.md).

# Workshop Item Preview File

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) 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](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

```csharp
public struct WorkshopItemPreviewFile
```

Used by the [WorkshopItemData ](/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-data.md)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>
