---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.ru/support/wiki/en/static-markup/files.md
  - https://yandex.ru/support/wiki/ru/static-markup/files.md
title: "How to use images and files in Yandex\_Wiki"
description: This guide will show you how to use images and files in Wiki.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/en/llms.txt




# Images and files in the old editor

{% note info "" %}

For information on how to work with images in the new editor, see [Images](https://yandex.ru/support/wiki/en/wysiwyg/images.md). For instructions on working with files, see [Files](https://yandex.ru/support/wiki/en/wysiwyg/file.md).

{% endnote %}

## Embedding images {#add-image}

Use this markup to add an image to the page:

```
![<alternative_text>](<image_address>)
```

{% note info "" %}

If you insert an image link without markup, the image will be added to the page without alternative text.

{% endnote %}

Example:

`![Logo](http://img.yandex.net/i/logo95x37x8.png)`

{% note info "" %}

The new editor allows you to paste images from your clipboard in markup mode.

{% endnote %}

### Setting the image size {#img-size}

Set the size of the image on the page in pixels:

```
<width>x<height>:<image link>
```

{% note info %}

Since the image is scaled to maintain its aspect ratio, you can approximate the height. For example, a picture with this markup will be displayed correctly: `300x0:<image link>`.

{% endnote %}

Example:

`60x20:http://img.yandex.net/i/logo95x37x8.png`

### Adding download links for images {#download-link}

Use the link markup:

```
[link text](image URL)
```

| Markup | Result |
--- | ---
| `[Yandex logo](http://img.yandex.net/i/logo95x37x8.png)` | [Yandex logo](http://img.yandex.net/i/logo95x37x8.png) |

### Turning an image into a link {#img-link}

You can turn the image into a link so that clicking on it will open a page or file. To do this, [insert an image](#add-image) in the link markup element instead of text:

```
[![<alternative_text>](<image_URL>)](<file_or_page_link>)
```

## Embedding a video {#video}

To add a video to the page, use the [`{{iframe}}` dynamic block](https://yandex.ru/support/wiki/en/actions/iframe.md). It allows you to embed videos from external sources, such as Vimeo and YouTube.

## Adding links to files {#file-ref}

Add a file link to the page text using one of these methods:

| Markup | Result |
--- | ---
| `http://file-link` | [http://file-link](http://file-link) |
| `[link text](http://file-link)` | [link text](http://file-link) |
