I require several images to act as upload buttons. If one is pressed it will bring up a browse window where the user can only select certain filetypes from their PC (JPG/PNG/GIF - less than 5MB). Once they have selected a file, it will then be POST'ed to a PHP script.
The upload image will then change to an animated progress GIF until it receives a response from the server. The server response will be in the form of an image which will then take the place of the animated progress gif.
You will be given the HTML page with the upload buttons on it once the request has been accepted.
All code must be compatible with browsers ranging from IE6>, FF1.5>, Safari 3.5>, Chrome and Opera 9>.
**All code should be as streamlined as possible.** I dont want tonnes of libraries added to my webpage. Only the bare essentials to get this working. Jquery is already installed, so if you cannot perform the functions with this, you must write your own code.