The Google Surveys API allows surveys to contain images. When adding an image to a survey, base64-encode the image with web safe characters.
To achieve this, first base64-encode the image and then change the necessary characters to their web safe version. In general, web safe encoding uses '-' in place of '+' and '_' in place of '/'. For more details, consult Section 5 of RFC 4648.