Downgraded to jersey 1 and got photo uploading working.