PHP Image upload and generate thumbnail using ajax in php