---
title: thumbnail
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/urlresourcevalues/thumbnail
---

# thumbnail

A thumbnail image of the URL.

## Declaration

```swift
var thumbnail: NSImage? { get }
```

## Discussion

Discussion The URL populates ths property by retrieving the thumbnailKey from the resource values, and is nil if there’s no value for the key.

## See Also

### Thumbnail values

- [thumbnailDictionary](foundation/urlresourcevalues/thumbnaildictionary-7jyzz.md)
- [thumbnailDictionary](foundation/urlresourcevalues/thumbnaildictionary-4ztst.md)
