This documentation is for the old version. Go to the latest Upload Suite docs

Thumbnail.InitComplete Event

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

This event fires when the ThumbnailThumbnail (ASP.NET)Thumbnail (PHP)thumbnail (JavaScript) control is completely created and initialized.

Syntax

ASP.NET
<script type="text/javascript">
function Thumbnail1_InitComplete(){
    //...your code...
}
</script>
<aur:Thumbnail ID="Thumbnail1" runat="server">
    <ClientEvents>
        <aur:ClientEvent EventName="InitComplete" HandlerName="Thumbnail1_InitComplete" />
    </ClientEvents>
</aur:Thumbnail>
PHP
<script type="text/javascript">
function Thumbnail1_InitComplete(){
    //...your code...
}
</script>
<?php
    $Thumbnail = new Thumbnail("Thumbnail1");
    //...other params...
    $Thumbnail->getClientEvents()->setInitComplete("Thumbnail1_InitComplete");
    //...other params...
    $Thumbnail->render();
?>
JavaScript
function Thumbnail1_InitComplete(){
    //...your code...
}
$au.thumbnail({
        events: {
            //...other params...
            initComplete: [Thumbnail1_InitComplete],
            //...other params...
        }
})