# Галереи изображений

VDM downloads the pictures of a gallery (a Wikimedia Commons category, a Flickr album, a DeviantArt gallery, an Imgur album and many more) with the help of [gallery-dl](https://codeberg.org/mikf/gallery-dl), a free program that reads several hundred sites. Like yt-dlp for videos, it's an optional helper: VDM installs it the first time you need it, or uses your own copy.

## Загрузка галереи

1. Нажмите **Добавить URL** и вставьте адрес галереи, например `https://commons.wikimedia.org/wiki/Category:Featured_pictures_of_birds`.
2. VDM opens **Download a gallery** instead of downloading the page as a file. The first time, click **Install gallery-dl**. (Or install it before your first gallery: **Helpers...** → **Install gallery-dl**.)
3. gallery-dl проверяет адрес на вашем компьютере, не выходя в сеть. Когда появится строка **gallery-dl может загрузить файлы этой галереи**, вы готовы.
4. Проверьте **Сохранить в** (по умолчанию это папка категории «Общие»). Изображения будут сохранены в отдельной папке, названной в честь галереи.
5. При желании введите число в поле **Файлов не более**, чтобы загрузить только первые файлы из списка сайта. На большинстве сайтов это самые новые. Оставьте поле пустым, чтобы загрузить все.
6. Нажмите **Загрузить сейчас** или **Позже**, чтобы добавить его в список без начала загрузки.

Галерея отображается одной строкой в списке. Её размер увеличивается по мере поступления изображений, а в журнале указывается, сколько было сохранено. Каждое изображение помечается как загруженное из интернета, как и любая другая загрузка.

## Как загружаются изображения

gallery-dl lists the gallery's pictures: where each one comes from and the name it gets in the folder. VDM's own downloader then brings them in, 4 at a time (fewer when the site answers that it's busy, as Wikimedia's does), under your speed limits (a change applies at once), and the progress window's connections table shows each one. gallery-dl then runs as before: it finds those pictures already there and fetches only what VDM couldn't have, such as a picture from a site that wants a sign-in or headers of its own. The log says how many each saved.

gallery-dl старше версии 1.32 (часто из дистрибутива Linux) не может перечислять изображения таким образом: он загружает их все сам, по одному в секунду, как и раньше.

## Получить новые изображения позже

Запустите завершённую галерею снова (**Продолжить**), чтобы загрузить только те изображения, которых ещё нет в её папке. Те, что уже есть, пропускаются.

## Остановить, удалить

- **Stop** ends VDM's downloads of the pictures, and gallery-dl with everything it started. The pictures saved so far stay.
- **Удалить** убирает галерею из списка. Её папка и изображения остаются, даже если вы установите флажок для удаления файлов: удалите папку самостоятельно, если хотите её удалить.

## Какие адреса открывают окно галереи

Добавить URL отправляет в окно галереи следующие адреса: – категории Wikimedia Commons; – фотографы и альбомы Flickr; – галереи DeviantArt и ArtStation; – альбомы Imgur; – художники и работы Pixiv; – доски и пины Pinterest; – поисковые запросы Danbooru и Gelbooru; – блоги Tumblr; – профили Bluesky.

Собственный адрес изображения (заканчивающийся на `.jpg` или `.png`) загружается как файл, как и раньше.

## gallery-dl

- **Where it comes from:** VDM downloads gallery-dl from its releases on Codeberg. It accepts it only when the release's checksum list is signed by gallery-dl's author's key, pinned in VDM, and the program matches that list. It keeps it up to date by itself, as it does yt-dlp ([Keeping them up to date](https://vdm.mikaillab.com/ru/help/video.html#helper-updates)): a gallery that fails with gallery-dl's *unexpected error* has VDM look for a newer gallery-dl at once and try again with it. It keeps the previous version and never goes back to an older one by itself. On Windows (gallery-dl's 32-bit build on 32-bit Windows, its x64 one on Windows on ARM, which Windows 11 runs translated) and on Linux (x86-64) VDM installs it; on macOS and on Linux on ARM, install it with your system's packages, Homebrew (`brew install gallery-dl`) or pip.
- **Your system's copy:** on Linux and macOS, VDM finds a gallery-dl on your `PATH` and in the usual package-manager folders, including Homebrew's, as it does yt-dlp. A program you chose yourself comes first, then VDM's own copy; the system's is used when neither is there, and your package manager keeps it up to date. If yours is too old for a site, **Use VDM's own copy** in **Helpers...** downloads VDM's (Windows and Linux x86-64), used from then on.
- **Your own copy:** **Helpers...** (in the gallery window or the video window) lists yt-dlp, ffmpeg and gallery-dl, and **Use another program...** takes your own copy of each instead of VDM's.
- **How it asks:** gallery-dl and VDM's downloader ask sites as VDM; VDM brings 4 pictures at a time, and gallery-dl, for what's left to it, one a second at most. Wikimedia's servers refuse tools that ask much faster or without a name. gallery-dl uses no configuration file of yours.
- **Network adapter:** while one is chosen (**Options → Proxy / Socks → [Network adapter](https://vdm.mikaillab.com/ru/help/options.html#proxy--socks)**), galleries go through it too, as video pages do: VDM gives gallery-dl a proxy of its own on this computer, opens every connection through the adapter and looks the names up with the DNS you chose. When the adapter disconnects, the gallery stops with the other downloads; nothing goes out through your normal connection.
- **The gallery-dl of your Linux distribution:** the one your distribution ships works too, from 1.20 (Ubuntu 22.04) on. Found on its own, it gets only the options every one of those versions knows; chosen in **Helpers...**, the ones its version knows. One older than that (Debian 11's 1.17) is refused when you choose it, saying which version VDM needs; found on its own, its galleries fail, and **Use VDM's own copy** is the way out.

## В командной строке

- `install-gallery-dl`устанавливает или обновляет gallery-dl, проверенную таким же образом.
- `gallery-get URL [-o folder] [--limit N]`загружает галерею в папку, названную в её честь. См. [Командная строка и автоматизация](https://vdm.mikaillab.com/ru/help/command-line.html).

## Похожие статьи

- [Загрузка видео](https://vdm.mikaillab.com/ru/help/video.html)
- [Торренты](https://vdm.mikaillab.com/ru/help/torrents.html)
- [Торренты и ваша безопасность](https://vdm.mikaillab.com/ru/help/torrent-security.html)
- [Учетные записи службы дебрида](https://vdm.mikaillab.com/ru/help/debrid.html)

[Редактировать эту страницу на GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/galleries.md) [Сообщить о проблеме с этой страницей](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Image%20galleries&page=https%3A//vdm.mikaillab.com/help/galleries.html) [История страницы](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/galleries.md)

Бесплатно, с открытым исходным кодом, без рекламы, без пробного периода.

[Download Volt Download Manager](https://vdm.mikaillab.com/ru/download.html)
