new method to send, replace function $.post to $.ajax, implementing image loading, beforeSend and success process