Submits the image to the server.
Amends the picture attribute to the new server file path if upload
successful.