Changing the jpeg compression ratio so it doesn't return full sized image - bug fix attempt