Synology Photos icon

Synology Photos

Browse, manage, and organize Synology Photos (albums, items, sharing)

Get Thumbnail

AI-generated

Summary

Retrieve the thumbnail image of a specified Synology Photos item in the chosen size.

Inputs

  • Item ID (required) — Unique identifier of the photo item to get the thumbnail for.
  • Thumbnail Size — Size of the thumbnail image to retrieve; options are Small (96px), Medium (256px), or Large (512px), defaulting to Medium.

Output shape

A single JSON object containing the thumbnail data for the specified item.

The operation calls Synology Photos API to fetch the thumbnail for the given item ID and size. Returned data structure depends on the API response and includes thumbnail metadata and URL or image data. Errors from the API are thrown as exceptions and can be caught for handling.

Examples

Example 1: Get a medium-sized thumbnail for item with ID '12345'

Set 'Item ID' to '12345' and 'Thumbnail Size' to 'Medium (256px)'.

Links

Discussion