ttree/filepreviews

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

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 2

Open Issues: 1

Type:neos-package

1.0.0 2019-01-25 15:32 UTC

This package is auto-updated.

Last update: 2024-11-26 04:23:31 UTC


README

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.