put picture to base64 format + api service