Created
May 15, 2011 20:14
-
-
Save jptoto/973493 to your computer and use it in GitHub Desktop.
uploadify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$("#fileUpload2").fileUpload({ | |
'uploader': 'uploadify/uploader.swf', | |
'cancelImg': 'uploadify/cancel.png', | |
'script': 'uploadify/upload.php', | |
'folder': '', | |
'multi': true, | |
'fileDesc': 'Afbeeldingen', | |
'fileExt': '*.jpg;*.jpeg;*.gif;*.png', | |
'checkScript': 'uploadify/check.php', | |
'scriptData': {'folder2': '<?php echo base64_encode($dest) ?>'}, | |
'displayData': 'speed', | |
'simUploadLimit': 10, | |
onAllComplete: function () { | |
window.location="upload_resize.php?map=<?php echo $map;?>"; | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment