xercool
xercool

Reputation: 4619

WebDAV Specification thumbnail/preview file image

Now I'm using WebDAV protocol for sharing files for writing my own webdav client.

I want to implement fetching thumbnails previews from specified file located web server (nginx/Apache/other). WebServer must generate thumbnail/preview image and return that with PROPFIND request or another way.

Is there any property from propfind or response header described in RFC and supported from webservers with nginx/Apache?

Upvotes: 7

Views: 2425

Answers (2)

Sergey Ponomarev
Sergey Ponomarev

Reputation: 3201

As a workaround if you control both the WebDav server and client then you can:

  1. Create a Thumbs.db file and download it. Personally I like this idea because it's clear, well known and already used in Samba
  2. Add an additional tag (with own namespace) into response with thumbnail or a separate call REPORT as proposed here https://lists.w3.org/Archives/Public/w3c-dist-auth/2009AprJun/0012.html

Nextcloud/OwnCloud discussed creation of a separate Preview API but this looks like totally not related to WebDAV https://help.nextcloud.com/t/retrieving-preview-thumbnail-wtih-webdav/95243/7

Upvotes: 0

Evert
Evert

Reputation: 99851

My answer is brief. There is no standard for this.

Upvotes: 4

Related Questions