Attached is a simple PHP image uploader that is all perfectly functional EXCEPT for an integration with the Aviary API. [login to view URL]
At the time it was felt that Aviary would provide a nice editing feature on top of a plain image uploader, but the reality is that it didn't get much use and created an extra step in the upload process. Before being passed into Aviary, uploaded images are already resized to a reasonable resolution and size by the WideImage php library.
All the script does with the uploaded image file after it has been passed through Aviary for editing is add it's URL as the value of the #tx_imageurl input on line 45 of upsimple_form.php.
Please remove the call to the Aviary editor and instead pass the resized image's url straight to the #tx_imageurl input.
There are a few other files included in the zip that allow the user to select a stock image instead of uploading a new file, these files are working fine and can be ignored. The files that will likely need to be worked on are [login to view URL], [login to view URL], and [login to view URL]
The actual problem is on lines 118 and 119 of "[login to view URL]", the following two parameters were deprecated in aviary's API. Here is an email from aviary regarding the change, [login to view URL]
postUrl: '<?php echo $postpath;?>[login to view URL]',
postData: '<?php echo $fullImagePath; ?>',