> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newly.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Screenshots and files

> Attach screenshots and files to your messages, and learn the supported image formats and size limits.

A screenshot often explains a problem faster than a paragraph. You can attach images and other files to any message.

## Attach a file

Use any of these:

* **+ menu:** click **+** in the prompt box, then **Files & Images**, and choose one or more files.
* **Paste:** copy an image or take a screenshot, then paste it into the prompt box.
* **Drag and drop:** drag files anywhere onto the window. You'll see "Drop files and images here".

You can attach several files to one message.

## Supported image formats

Images must be **PNG, JPG, WebP or GIF**. If you attach another image type, such as a HEIC photo, you see a message that names your file, for example:

"photo.heic is not a supported image. Use PNG, JPG, WebP, or GIF."

> [!TIP]
>
> iPhone photos are often HEIC. Convert them to JPG or PNG first, or take a screenshot of the photo and paste that.

## Size limits

| Limit | Amount |
| - | - |
| Per file | 10 MB |
| Per chat | 40 files or 100 MB in total |

If a file is too large, you are told before the upload even starts:

"pasted-image.png is too large: attachments are limited to 10 MB. Crop or resize it and attach the smaller file."

If the chat itself is full, the message says so: "This chat has reached its attachment limit (40 files or 100 MB in total). Start a new chat to attach more."

A dropped connection or a server hiccup is retried automatically. If the file still does not upload, your message is not sent: it goes back into the message box with the file still attached, and you see "Your file did not upload, so the message was not sent. It is back in the message box: check your connection and send it again." Send it again once your connection is back. If it keeps failing, make a large photo or screenshot smaller, or crop it to the part that matters.

## What the agent does with attachments

Attached files are saved into your project so the agent can open and read them while it works.

In a long chat, the agent can only see the most recent images, about the last 30. That count includes screenshots the agent takes itself while it checks your app. If an early screenshot still matters, attach it again with your new message.

## Related

> [card] [Prompting tips](https://docs.newly.app/build/prompting-tips.md)
>
> Get better results from each message.

> [card] [Chatting with the agent](https://docs.newly.app/build/chatting-with-the-agent.md)
>
> Sending, stopping and queueing messages.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.