---
title: "init(url:isTemplate:displayStyle:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/displayrepresentation/image-swift.struct/init(url:istemplate:displaystyle:)"
---

# init(url:isTemplate:displayStyle:)

Creates an image from an image file in the local file system, specifying the display style.

## Declaration

```swift
init(url: URL, isTemplate: Bool? = nil, displayStyle: DisplayRepresentation.Image.DisplayStyle)
```
