image upload by base64 codes.