Skip to content

Commit

Permalink
Add a note about limitation of generators (#3000)
Browse files Browse the repository at this point in the history
Add a note about limitation of generators to deter users from going down the path of attempting to use this functionality for anything other than images.
Orrison authored Aug 15, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e68a2e6 commit a479747
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@ weight: 2

If you want to generate a conversion for a file type that is not covered out of the box you can easily create your own media generator.

Generators can only be used to generate images, intended to be used as a thumbnail representation of files. Converting to any other file format other than images is unsupported.

In the following example we'll create a custom generator that can convert a Powerpoint to an image.

## Creating a custom image generator

0 comments on commit a479747

Please sign in to comment.