# Attachment Messages of type `attachments` can display an image with a link to download/view an attachment or website. The attachment's **extension** and **size** can also be included. The `ext` key displays a file type icon so users know what type of file the attachment is. Valid values are defined by the operating system. The `size` key displays the size of the file. Set the `size` in bytes, for example 1 MB would be `"size": 1000000`. For **style options**, see the [Full JSON schema](#full-json-schema). ## Example ![Example](/img/1560465782721.png) ## JSON example ```json { "head": { "text": "I am a header", "sub_head": { "text": "I am a sub header" } }, "body": [ { "type": "attachments", "resource_url": "https://zoom.us", "ImageProvider_url": "https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png", "information": { "title": { "text": "I am an attachment title" }, "description": { "text": "I am an attachment description" } } } ] } ```