easydb-server.yml
eas.rights_management.image.versions[].<class>.size_print
- eas_produce
eas_produce.json Variables Variable Typ Required Description { yes ⇨"<class>": { Hierarchy yes Configuration for EAS class (__all, image, video, audio, office, archive, unknown, vector2d, vector3d) ⇨⇨"__all": { [ ] Hierarchy yes Contains class version definitions ⇨⇨⇨"<versionname>": { Hierarchy no Contains the specific version definition ⇨⇨⇨⇨"target_size": String no Size (e.g. 128, 640x480, x12 or 45x) ⇨⇨⇨⇨"target_size_min": String no 1: Specified size is desired minimum and not maximum size (from (version) version 4.
- New image variant with watermark
Example In the first example we would like to create a watermark version of maximum 500x500 pixels. Therefore we have to create the following eas_produce.json entry:
"500px": { "target_size": "500x500", "target_size_min": "1", "target_format": "png", "target_alpha": "on", "target_no_enlarge": "1", "priority": "12" }, To activate watermarks in this version, we also create the following eas_rights_management.yml entry:
- version: 500px size_print: 500px variant size_limit: 500 export: true rightsmanagement: true group: preview watermark: true After the changes where made, your files should look like this: