Implemented basic AJAX thumbnail uploading