Presets

Introduction

This type of configuration allows you to use the Json command syntax of the imaging service to create presets. The main end point that allows you to access these presets is the standard variation service (/api/wedia/dam/variation)

Configuration

Each preset is associated to an identifier and a JSON configuration. The configuration is very similar to that of an imaging department, without any particular structure or property.

Limitations

The result of a preset cannot normally depend on parameters, other than the image to be transformed itself. It is therefore not possible, unlike imaging services, to modify the on-call command, either by redefinition or by parameters in the uri, especially since the cache system only takes into account the properties of the image file to determine whether it is up to date or not.

However, if the image file is recognized as an object attachment, it is possible to use properties of this object in the result establishment. But as a corollary to what is written above, changes to these properties in the object cannot be taken into account to establish whether the cache is up to date or not.