Attach files and images to a message

You can add files and images to any message in DataMind Oda: pick them, drag them in, or paste them. This page covers adding them, the limits that apply, and what happens to what you attach. What the model finally receives for each attachment is covered on Attachments in model requests.

Add files and images

  1. Add items in any of three ways: the + control (Add files or run commands), dragging files anywhere onto the window, or pasting them into the message box.
  2. While a file drag is over the window, an overlay invites the drop (Drag files or images here to add them) and names the limits in force; when drops cannot be accepted it reads Files and images cannot be added right now.
  3. Your items wait in a row above the message box: images as thumbnails, other files as cards showing the name, the extension and the size (sizes read like 2.5MB).
  4. Remove an item with the control that appears on it. A file that failed to upload shows Upload failed; click to retry; click the card to retry, or remove the item and add it again. A retry sends the file from the start: an upload that stopped is not resumed where it left off.
  5. Send waits until every item has finished uploading; until then the box answers Files are still uploading; send after they finish.
  6. A failed send returns your items to the row above the box, so you can send them again. See The message box.

What happens to what you attach

Image formats and limits

ItemLimit
Images in one message20
Image bytes in one message200 MiB
One source image20 MiB, 64,000,000 pixels and 8192 px per side
Image formatsPNG, JPEG, WebP and GIF

Why Oda converts some images

When an attachment is refused

Questions, answered

Which files and image types can I attach?

Any file. Images must be PNG, JPEG, WebP or GIF; files that are not images have no list of accepted types, and Oda keeps their bytes exactly as you sent them (even a zero-byte file).

How many images can one message include?

Up to 20 images and 200 MiB of image bytes in one message, with each source image up to 20 MiB, 64,000,000 pixels and 8192 px per side. These are the shipped limits; your organisation can set others, and a refusal names the limit that applies.

Where do my attachments live, and does Oda delete them?

They are stored on the computer that runs Oda, and they are never deleted automatically. An image is kept under an internal identity, a file byte for byte, and both can only be read from the computer that holds them.

Can I attach a folder?

In the desktop app, yes, as a reference: a dropped folder becomes an @ mention of its path instead of an upload. The file dialog only chooses files, and in a browser a dropped folder is refused with Folders can only be added in the desktop app; add individual files in the browser.

Can I attach files to a command?

Only commands that take attachments. When one does not, it answers /{command} does not accept attachments; remove them first and keeps your draft and items; remove them and run the command again. See Slash commands and references.

Why did Oda rename my file?

Stored names are tidied: folder parts are stripped, characters that Windows file names cannot hold become _, reserved device names get a _ prefix, and very long names are cut. C:\Users\me\report.docx is stored as report.docx.

Why is the stored image not identical to the one I uploaded?

A clean single-frame PNG, JPEG or WebP within the limits is kept exactly as sent. Anything else is converted first: orientation applied, metadata and colour profiles removed, transparency preserved, large sizes scaled down, and transparency decides the format (WebP with it, JPEG without it). An animated GIF becomes a static first frame.

Why was my whole message refused when one image failed?

Images are checked as one batch: if any image is refused, the message fails as a whole and nothing reaches the chat. Fix or remove the image named in the message and send again; your draft and other items stay.

What happens if an upload fails?

The card shows Upload failed; click to retry; click it to retry, or remove the item and add it again. Send stays blocked while an item is still uploading, with the note Files are still uploading; send after they finish.

What if the model does not support images?

Attaching images to a chat whose model accepts text only is refused with The current model does not support images; switch to a model that does. The images stay in your draft; switch the chat's model and send again. See Chat with Oda.

Are my attachments kept if I never send the message?

No. An unsent draft is not saved: items that never leave the message box do not become part of the chat. Once a message is accepted, its stored copies stay and are never deleted automatically.