ajax upload php handling, pending image display