add base64 encode for picture bin data