ttree/filepreviews

Last activity 25 Jan 2019 5 2 33
composer require ttree/filepreviews

Neos CMS filepreviews.io integration to generate thumbnail and extract metadata

1.0.0

Version
1.0.0
Type
neos-package
Release Date
Jan 25, 2019 15:32
Source
git
Distribution
zip
Requires
MIT 4cc5476b568af03ef9d4e03e952fdc6029e51fa6

Neos CMS filepreviews.io integration

This package generate thumbnail and extract metadata from different type of document based on the API of filepreviews.io.

This package is Composer ready, PSR-2 and PSR-4 compliant.

How it work ?

This Generator call the FilePreviews.io API to generate Thumbnail for many different file formats. Check filepreviews.io website for more informations.

Configuration

Like any other Thumbnail Generator, you can change default settings. First step, you need to configure your API keys.

Neos:
  Media:
    thumbnailGenerator:

      'Ttree\FilePreviews\Domain\Model\ThumbnailGenerator\FilePreviewsThumbnailGenerator':
        apiKey: 'api-key'
        apiSecret: 'api-secret'
        maximumWaitingTime: 30
        defaultOptions:
          format: 'jpg'
        retryInterval: 1
        supportedExtensions: [ 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlxs', 'odt', 'ott', 'odp', 'txt', 'rtf', 'eps', 'psd', 'ai' ]
  • supportedExtensions: check the official documentation of FilePreviews Supported Formats and enjoy.
  • defaultOptions: check the API endpoint documentation.

Acknowledgments

Development sponsored by ttree ltd - neos solution provider.

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License

The MIT License (MIT). Please see LICENSE for more information.

The content of the readme is provided by Github
The same vendor provides 48 package(s).