When you declare the submit button, add an onClick handler e.g.
<input type="submit" value="Upload Image" onClick="changeButton()">
and declare a javascript function called changeButton() which swaps the submit button for a message saying 'processing'. I use an anigif to give a progress bar effect in place of the submit button