This event fires when an image is rotated.
<script type="text/javascript"> function Uploader1_ImageRotated(){ //...your code... } </script>
<aur:Uploader ID="Uploader1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="ImageRotated" HandlerName="Uploader1_ImageRotated" /> </ClientEvents> </aur:Uploader>
<script type="text/javascript"> function Uploader1_ImageRotated(){ //...your code... } </script>
<?php $Uploader = new Uploader("Uploader1"); //...other params... $Uploader->getClientEvents()->setImageRotated("Uploader1_ImageRotated"); //...other params... $Uploader->render(); ?>
function Uploader1_ImageRotated(){ //...your code... }
$au.uploader({ events: { //...other params... imageRotated: [Uploader1_ImageRotated], //...other params... } })
This event is raised in both cases:
This event makes sense in ThreePanes
layout only.