---
title: srcset
framework: tvmlkit
role: symbol
role_heading: Instance Property
path: tvmlkit/tvimageelement/srcset
---

# srcset

A dictionary specifying versions of the same image for different resolutions.

## Declaration

```swift
var srcset: [String : URL]? { get }
```

## Discussion

Discussion Each dictionary entry contains a string and a URL for a specific image.

## See Also

### Identifying an Image

- [url](tvmlkit/tvimageelement/url.md)
- [imageType](tvmlkit/tvimageelement/imagetype.md)
- [TVImageType](tvmlkit/tvimagetype.md)
