# Attachments and voice

> Upload, preview, and play media, record voice notes, and share website previews.

[Web documentation](https://threads.teamkrope.com/docs/media/) · Inner Threads v1.3.0

## Attach files

Use **Photos & Videos** or **Documents** from the paperclip menu. Drag and drop into the chat to add files to the same composer. Review or remove draft attachments before sending. When a send includes both media and documents, the widget posts a media message with the caption and a separate message for the documents. A gallery shows up to four thumbnails and indicates additional items on the fourth.

Supported images and videos open in the in-widget viewer. Use its navigation to browse the files in a message. Use **Download** to save an authorized attachment. JPEG, PNG, GIF, and WebP can preview as images, and MP4 and WebM can preview as video when enabled.

## Configure upload limits

The defaults are **50 files per message** and **2 GiB per file**. Set `attachments.max_files`, `attachments.max_kilobytes`, or `attachments.allowed_mime_types` to override them. An empty MIME allowlist accepts all file types for upload. Preview support is limited to the formats above.

An attachment batch uses one multipart request. Plan the host’s PHP file count and per-file limits, request size, proxy limits, timeouts and space for temporary and private files. See [configuration](https://threads.teamkrope.com/docs/configuration/#attachments) and [private storage](https://threads.teamkrope.com/docs/encryption-storage/).

## Record a voice message

Select the microphone in an empty composer. The waveform follows the microphone level as you record. Pause and resume the same recording, listen before sending, send it directly, or discard it. Sent notes play and seek inside the chat.

Recording requires HTTPS or localhost and browser microphone permission. On an embedded page, the containing iframe also has to allow microphone access. The default widget stops after 120 seconds. Turn off `features.voice_messages` to disable new recordings. Existing notes stay playable.

## Share a website preview

Paste or type a public HTTP or HTTPS URL. Inner Threads can show the first eligible link’s title, description, and thumbnail. Close the card in the composer to send the link as text without the preview. A preview can accompany a send with mixed attachments.

The server fetches metadata with PHP cURL and DOM, caches the draft, and serves the thumbnail through authorized chat routes. If a preview is unavailable, you can still send the URL. Hosts can turn off the feature with `features.link_previews`.
