Hi
I'd like to create a crop plugin that would let users crop their portraits. That plugin would trigger after portrait updates and open a new page with the uploaded portrait and some javascript functions that let the user define a new area within their portrait that will be used to crop it when they validate.
But it seems that onAfterUserAvatarUpdate() plugin method doesn't allow to open such a "interactive cropping page" and I don't want to open a new plugin tab. I'd like users crop their portrait through the already available "update your avatar" menu.
Is there a way to alter normal execution flow in CB ?
I'd like to avoid avatar update function for example after my own function triggered by onBeforeUserAvatarUpdate.
Thanks for your helps