Hi,
I bought this plugin about a month ago and it has been great. Works awesome. I have one question though.
Is there a way to capture the JSON object that is returned in the ajax_upload.php file?
I updated the ajax_upload.php file in order to get more information about the uploaded content. For example: image width, image height, filesize, etc… I uploaded this info to a database and I added all this extra data to the $response object that is echoed at the end of the file.
Now, is there a way to capture that information in JavaScript? When I create my own AJAX functions, there is usually a ‘success’ option I can use to pull and manipulate whatever info is sent back from the AJAX call. Is there a way to do that with this plugin?
I tried using the file_upload_end function you mentioned in your documents, but the only data I seem able to pull from that function is the file’s name. Not the other data I was able to acquire in the ajax_upload.php file.
Thanks,