The Croppie BlackBox is used to crop and manipulate an image stored in a container field. It utilises the Croppie library. The manipulated image will be exported to a seperate container field.
In terms of writing the cropped image back, the containerTarget parameter should be a text field, which you can then use to decode the Base64 from that field into a container image.
The best way to do this is to have a container field, with the following auto-enter set:
This BlackBox is designed for a single record, rather than a found set. So your table occurrence should have a relationship from the current context that matches to only one record.
Reactor knows nothing about your current found set.
If your current context is the record containing the image you wish to crop, create a self-relationship, and use that as the BlackBox parameter(s):
Croppie ( containerOriginal ; containerID ; containerTarget { ; settings_viewport_width ; settings_viewport_height ; settings_viewport_type ; settings_boundary_width ; settings_boundary_height ; settings_showzoomer ; settings_enableresizer ; settings_mousewheelzoom ; settings_enableexif } )
Croppie (
"bb_data_planets__SINGLE::image" ;
"bb_data_planets__SINGLE::id" ;
"bb_data_planets__SINGLE::image_cropped_b64" ;
)