Common platform interface for the image_cropper2 plugin.