support base64 image upload