Provide a Thumbnailing API

It would be great if the native REST API and WebDAV API could offer a feature to retrieve thumbnails for hosted photo files.

This functionality could be similar to OneDrive’s Thumbnail API, Dropbox’s get_thumbnail, or Nextcloud’s “preview.png” endpoint.

In the best case I can specify the dimensions of the thumbnail (like OneDrive offers).

The use case is to enable seamless integration of my photo organizer app with a Seafile host. Currently, downloading all original image files to generate thumbnails locally is quite slow, and having an efficient thumbnail retrieval option would significantly improve performance.

1 Like

Hello, there is an url which you can get the content of thumbnail, the url is like:
/thumbnail/<repo_id>//<file_path>
You can also refer to the debug network console in the browser and check the url for requesting a thumbnail.

Bumping for additional detail
This api endpoint doesn’t seem to work with bearer authorization tokens, and require a valid sessions cooki to work which is a bit more complicated to set up.

Is there a way to get thumnails for files using the new api ? Maybe in 13 with the thumbnail server ?

Thank you !

We will check the request within next week.

1 Like

Thank you for reporting this issue, and we will add this feature in next release。

1 Like

Is this just for webdav or also SeaDrive?