---
title: thumbnailData
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/thumbnaildata
---

# thumbnailData

Image data that represents the thumbnail of the item.

## Declaration

```swift
var thumbnailData: Data? { get set }
```

## Discussion

Discussion This property is optional. For some guidance on creating a thumbnail image, see Enhance Your Search Results.

## See Also

### Describing general attributes

- [alternateNames](corespotlight/cssearchableitemattributeset/alternatenames.md)
- [contentType](corespotlight/cssearchableitemattributeset/contenttype.md)
- [contentTypeTree](corespotlight/cssearchableitemattributeset/contenttypetree.md)
- [contentURL](corespotlight/cssearchableitemattributeset/contenturl.md)
- [darkThumbnailURL](corespotlight/cssearchableitemattributeset/darkthumbnailurl.md)
- [displayName](corespotlight/cssearchableitemattributeset/displayname.md)
- [keywords](corespotlight/cssearchableitemattributeset/keywords.md)
- [metadataModificationDate](corespotlight/cssearchableitemattributeset/metadatamodificationdate.md)
- [path](corespotlight/cssearchableitemattributeset/path.md)
- [rankingHint](corespotlight/cssearchableitemattributeset/rankinghint.md)
- [relatedUniqueIdentifier](corespotlight/cssearchableitemattributeset/relateduniqueidentifier.md)
- [thumbnailURL](corespotlight/cssearchableitemattributeset/thumbnailurl.md)
- [title](corespotlight/cssearchableitemattributeset/title.md)
- [domainIdentifier](corespotlight/cssearchableitemattributeset/domainidentifier.md)
- [weakRelatedUniqueIdentifier](corespotlight/cssearchableitemattributeset/weakrelateduniqueidentifier.md)
