Now successfully uploading JPEG to server

Tweaked params, so that we are now resulting in a real JPEG file.