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.
- Clone the code into your ownCloud apps directory. Name it as files_thumbnail.
- Enable the application from your ownCloud administration panel.
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