Generate base64 encoded uris for images.