# Images and file attachments

> Add images and files to Docs pages, size and style images, show files as cards, inline chips or links, use the Attachments shelf and attachment lists, preview images and PDFs, and file size limits.

Source: https://docs.sofiaspace.uz/docs/images-and-attachments/

Docs pages can hold images and any kind of file: screenshots, PDFs, spreadsheets, design files and diagrams. Images show in the page body, where you can size, align and style them. Other files show as a card, an inline chip or a plain link, and every file is also kept on the page's **Attachments** shelf. This page covers adding, arranging, previewing and downloading images and files, and the limits that apply.

**Who can do this:** adding, changing and removing images and files needs edit access to the page (space **Editor** or **Admin**, or **Can edit** on the page). Anyone who can open the page can view and download them. Available on every plan; the largest file you can upload depends on the plan.

## Add an image

1. Open the page and choose **Edit** (or **Continue draft**).
2. Put the cursor where the image should go.
3. Choose **Image** in the toolbar and pick an image file. You can also paste an image you copied, or drag an image file onto the page.

While it uploads you see *Uploading image…*. If the upload fails, try again.

### Pasting images from websites

When you paste content copied from another website, images that live on that site are not copied, and you see a message such as *1 image(s) were not copied — save and upload, or paste the image directly.* Save the image to your computer and upload it, or copy the image itself and paste it.

## Size, align and style an image

Click an image in the editor to show its controls:

- **Width:** **S**, **M**, **L**, **Full** (the full content width) or **Auto** (its default size). You can also drag the image's handle to resize it.
- **Alignment:** **Align left**, **Align center** or **Align right**.
- **Style:** **Border**, **Shadow** or **Snapshot** (a snapshot effect). Choose one again to turn it off.
- **Text wrap:** **Wrap** text to the left or right of the image.

## Attach a file

1. In the editor, put the cursor where the file should go.
2. Choose **Attach** in the toolbar and pick one or more files, or drag files onto the page.
3. Each file is inserted where the cursor is, and added to the page's **Attachments** shelf.

While a file uploads you see *Attaching file…*. If some fail, a message lists them, for example *2 file(s) failed to attach: …*.

`.drawio`, `.bpmn` and `.bpmn20.xml` files are shown as drawings; see [Diagrams](https://docs.sofiaspace.uz/docs/diagrams.md).

### Choose how a file looks

Click a file in the editor and pick:

| Option | Shows |
| --- | --- |
| **Card** | A card with the file's name and size |
| **Inline** | A small chip inside the line of text |
| **Link** | A plain text link with the file name |

### Paste a file from elsewhere in Sofia Space

You can paste a file you copied from another page or task. If you don't have access to it, you see *Couldn't paste "…" — you may not have access to it.*

## The Attachments shelf

Every page has a shelf listing all of its files, including ones that aren't placed in the page body.

1. Choose **⋯ → Attachments**. The **Page details** panel opens on its **Attachments** tab. (The **Info** tab shows the first few attachments too, with an **Upload** button.)
2. To add files to the shelf without putting them in the page body, drop them on **Drop files here, or click to upload**, or click it to pick files. *Files uploaded to this page. Attaching here doesn't insert them into the page body.*
3. Click a file to download it.
4. To take a file off the shelf, choose **Remove from shelf** on its row.

The **⋯ → Attachments** entry shows how many files the page has.

## Show a list of files in the page

Two blocks list files automatically and stay up to date as files are added:

- **Attachments list** (toolbar **Attachments**, or **/** → **Attachments list**): this page's files. Shows *No attachments on this page.* when there are none.
- **Space attachments list** (toolbar **Space files**, or **/** → **Space attachments list**): files from pages across the whole space, limited to pages the reader can open. Shows *More attachments exist in this space.* when the list is cut short.

These are handy on a space's home page or a "Downloads" page.

## Preview and download files

Readers click a file card, chip or link:

- **Images** (PNG, JPG, GIF, WebP, BMP, SVG, AVIF) open in a full-screen viewer with **Zoom in (+)**, **Zoom out (-)**, **Rotate**, **Reset**, **Download**, and **Previous (←)** / **Next (→)** to move between files when there are several. Press Esc to close.
- **PDFs** open in the same viewer. If a PDF can't be shown, you see *This file can't be previewed here.* and can download it.
- **Other files** download straight away.

## File size and type limits

| Plan | Largest single file on a page |
| --- | --- |
| **Free** | 25 MB |
| **Pro** and **Business** | 100 MB |

Files count towards the workspace's total storage (shared with Drive, Chat and Tasks); see [Drive: storage and trash](https://docs.sofiaspace.uz/drive/storage-and-trash.md).

A page's attachments also appear, read-only, in **Drive → Projects & spaces**, under the space and the page. See [Drive](https://docs.sofiaspace.uz/drive/files-and-sharing.md).

Program files can't be uploaded: `.exe`, `.dll`, `.bat`, `.cmd`, `.com`, `.scr`, `.msi`, `.jar`, `.app`, `.deb` and `.rpm`. To share one, put it in an archive file such as `.zip` first.

## Files on public links

If a page has a [public link](https://docs.sofiaspace.uz/docs/public-links.md) that allows downloads, visitors can download the page's shelf files and the files and images in the page. If the link doesn't allow downloads, they only read the page.

## What you can't do

- You can't embed videos, web pages or other sites in a page; add a link instead.
- You can't edit a document (Word, Excel and so on) inside Sofia Space; download it, edit it and attach the new copy.
- You can't preview Office documents, video or audio in the viewer; they download.
- You can't upload files larger than your plan's limit, or program files.
- Images pasted from other websites aren't copied automatically.

## Related

- [The page editor](https://docs.sofiaspace.uz/docs/editor.md)
- [Diagrams (draw.io and BPMN)](https://docs.sofiaspace.uz/docs/diagrams.md)
- [Drive](https://docs.sofiaspace.uz/drive/files-and-sharing.md) — for files that don't belong to one page.
