If you don't need a server-side listener for the resize or rotate event in the ImageRotateAndResize example, you could use pe:javascript to reload the ImageAreaSelect widget. In this example the resize event is also catched with pe:javascript.