Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 844 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 844 Bytes

files_thumbnail

This is an ownCloud thumbnail generator application. Used as a public GET/REST API to gather file thumbnails from clients.
Able to specify thumbnail size or use default size values to generate thumbnails.
All the thumbnails generated will be stored in ownCloud/data/{$username}/files_thumbnail/
Thumbnails will be removed if the associated file was deleted.

Installation

  • Clone the code into your ownCloud apps directory. Name it as files_thumbnail.
  • Enable the application from your ownCloud administration panel.

Usage

Get thumbnail in default sizes:

http://domain/owncloud/?app=files_thumbnail&path=/subdir/imagefile.jpg&size={xs, s, m, l, xl}

Specify size for thumbnail:

http://domain/owncloud/?app=files_thumbnail&path=/subdir/imagefile.jpg&width=125&height=125