# Pictures, files and tables

Add a picture or a file to any page. Put a small table of words right in your writing.

## Add a picture or a file

- Press `/` and pick *Picture or file*. On a phone, it opens the phone's photos and files.
- Paste a picture or a file.
- Drop files on the page.

It becomes a block of its own, or goes in the block you are in when that block is empty. A block holds one picture or file; another goes in a block of its own. One `⌘Z` takes it away again. A picture is tagged `#image` and any other file `#file`.

## How they show

A picture or file shows above its block's words, and the words are its caption.

- **A picture**: click it to see it large.
- **A PDF**: in a reader that scrolls its pages.
- **A video or a sound**: in its player.
- **Text, Markdown, CSV and code**: as text.
- **Anything else**, such as a spreadsheet: a card with its icon, name and size. Click it to save it.

While a file goes up, it says “Waiting to upload”. If it can't, it says “Upload failed” with **Try again**.

## A File field

A field can hold files. Add a field with the Type **File**. See [Fields](fields.md#types). Click its value and pick *Upload a file…*: the file stays in the field, as an entity tagged `#file`, and adds nothing to the page. One `⌘Z` takes it away.

## Covers and icons

A page can have an icon and a cover. See [A page's icon and cover](writing.md#icon-cover).

## Tables in a page

Press `/` and pick *Table* for a small table of words, right where you are writing.

- **+ Row** and **+ Column** add to its ends.
- **···** opens its menu: *Add row below*, *Add column to the right*, *Delete this row*, *Delete this column* and *Delete table*.

For a table with field Types, sorting and filters, use a tag and its [Table view](views.md#table).
