use httmultiparty in order to avoid base64 encoding the image