unionco/craft-cloudconvert

CloudConvert Thumbnail API integration for Craft CMS

Installs: 317

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:craft-plugin

0.1.0.3 2022-10-31 14:08 UTC

This package is auto-updated.

Last update: 2024-04-29 04:41:22 UTC


README

Thumbnail integration via CloudConvert for Craft CMS 3 & 4

This plugin is still in development and should not be used in production

Versions and Compatibility

  • 1.x.x -> Craft CMS 3
  • 2.x.x -> Craft CMS 4

Installation

TBD

Copy config file into your project: cp vendor/unionco/craft-cloudconvert/config.php config/cloudconvert.php and customize as needed.

Each config option is documented in vendor/unionco/craft-cloudconvert/src/models/Settings.php and a brief overview is below (Configuration)

Configuration

  • apiKey - (string) The CloudConvert API key. You must create your own CloudConvert account and generate your own API key.
  • thumbnailFolderUid - (string) Volume Folder UID as generated by Craft's Project Config. You can lookup this value via the database table {{%volumefolders}}
  • sandbox - (bool) Should CloudConvert operate in Sandbox mode?
  • enabled - (bool) Should this plugin be enabled in this environment?
  • thumbnailWidth - (int) Defaults to 300
  • thumbnailHeight - (int) Defaults to 300
  • thumbnailFit - (string) e.g. 'crop'

Usage

  • This plugin provides an interface for generating a thumbnail from a Craft Asset element. How you would like to hook it up with your CMS and business logic is up to you.
  • This plugin will not automatically do anything unless explicitly configured to do so by you

API

CloudConvert Service (Work in progress)