![Advanced-UI](https://img.shields.io/static/v1?label=UI&message=Advanced&color=lightgrey) ![NOVA-UI](https://img.shields.io/static/v1?label=UI&message=NOVA&color=blue) The "Focal Point Setter" plugin allows the user to set the focal point of images. [MINITOC] ## Properties To be configured in {home}/appserver/conf/custom.properties ##### focalPointSetter.license > type: String, **required: yes**, default: -, since v1.2.0 The license for the product (provided by brix IT Solutions). ##### focalPointSetter.supportedAssetTypes > type: List of String (comma-separated), **required: yes**, default: - A list of supported asset type ids. ##### focalPointSetter.allowedUserGroups > type: List of String (comma-separated), required: false, default: - (only super admins) A list of user groups for which the menu entry is visible. ##### focalPointSetter.infofield.horizontal > type: Long, **required: yes**, default: - The id of the information field (has to have type double) used to save the horizontal percentage of the focal point. ##### focalPointSetter.infofield.vertical > type: Long, **required: yes**, default: - The id of the information field (has to have type double) used to save the vertical percentage of the focal point. ##### focalPointSetter.actionMenuEnabled > type: Boolean, required: no, default: false Specifies whether an entry is added to the action menu or not. ## Export format integration In order to use the defined focal points in export formats, you have to edit `home/appserver/spring/conversionProcessDefinitions.xml` as following: 1. Add two new parameters "Crop Image" and "Crop Gravity" to the conversion process "DownloadImage", by inserting this XML inside the property element "parameterList" (preferably directly below the definition for the parameter "imageHeight"): ```` yes no Center East NorthEast North NorthWest SouthEast South SouthWest West ```` 2. Inside the bean with id "parseUserSize" replace this XML snippet... ```` ```` ...with this one: ```` ```` **Attention:** After adding a parameter to a conversion process, all export formats using this process will be disabled and have to be re-enabled in the CMA. ## Compatibility Matrix | Focal Point Setter | CELUM (min. version) | :----- | :----- | 1.0 | 5.13.3 | | 1.3.7 | 5.13.4 (tested up to 6.8) | | Nova Plugin | CELUM (min. version) | | ---------------- | --------------------- | | 1.0.0 | 6.8.1 | | 1.0.1 | 6.9.3 | | 1.0.2 | 6.11.0 | ## Release Notes #### 1.0.0 > Released 2018-08-31 Initial version. #### 1.1.1 > Released 2019-01-04 Display existing focal point on edit mask. #### 1.2.0 > Released 2019-02-12 Added license. #### 1.3.6 > Released 2019-02-15 Implemented FocalPointTranslator to allow access to focal point data in conversion processes. #### 1.3.7 > Released 2020-02-17 Ready for CELUM 6.4