add base64 check encoding image