Upload presets allow defining a set of actions that would occur upon the upload of a resource. These actions could be performing a transformation, changing the access control of a resource, applying an add-on capability, and many other options.
It's possible to define multiple upload presets in one account and apply different presets in different upload scenarios.
It's possible to set presets as signed or unsigned. Unsigned presets can be used with unsigned upload calls, such as uploading using our upload widget or for Auto Upload settings.
Why Should I use upload presets?
There is many use cases to use upload presets. Some of the more common ones are:
- If you want to generate eager transformations upon upload
- Applying incoming transformations on resources so the resource that would be saved in Cloudionary would already have that transformation applied to it
- Applying a capability of an add-on from our add-on marketplace
- Applying upload preferences when using our upload widget
- If you want custom logic by adding a JavaScript code snippet in order to modify upload parameters in the Eval Section of the upload preset.
How Do I define an upload preset?
It's possible to define an upload preset from the upload preset UI on the management console or by using the `upload_presets` method of the Admin API
For a more comprehensive guide on how to use and define upload presets see our full documentation about upload presets.
Comments
0 comments
Please sign in to leave a comment.