Add methods to show and hide failure icon and message when a image upload fails.
Show retry icon before message.
Adjust message font size and position.
Do correct check for element presence in JQ.
Remove id after upload is done.
Fix id removal process.
Cannot remove ids this way because of racing condition.
Adds paragraph around images to allow selection of images while uploading.
Don't allow remove by using selection on failed image.
Increase margin between image and error message
Use data attribute to identify image instead of id.
Fix layout issue.
Stop failing image upload.
Fix bug when removing extra progress html around image.
Only remove wpid when replacing by final image.
Remove  unneeded attribute
Make sure we send empty string when WPID doesn't exist.
No paragrahps around image.
 Make sure we test all the steps of the image upload process, including final replacement.
Replace magic number and add a else if