Photos: Download
download_photosDownloads Synology Photos items by ID to an allowed local folder as original files or JPEG previews, naming each file after the original and skipping existing files unless overwrite is enabled.
Instructions
Download Synology Photos items by id to a folder on this machine: the original files or JPEG previews, one file per item, named after the original. Only writes inside the allowed local folders, and never replaces an existing file unless overwrite=true. For files outside Photos, use File Station's download_file when that module is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 1-50 item IDs from list_photos. | |
| size | No | `original` (default), or a JPEG preview saved as `<name>_<size>.jpg`: `xl`, `m` or `sm`: 1280, 320 or 240 px on the short side, never larger than the original. | original |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| overwrite | No | Replace a local file with the same name; otherwise that item is skipped. | |
| dest_folder | No | An existing local folder: one of the allowed local folders (/root/Downloads), or one below it; default the allowed folder, when there's only one. |