0

作为标题,我的目标是在我的 iOS/Android 应用程序上显示用户帖子中的图像。使用以下 API:

获取 https://graph.microsoft.com/v1.0/groups/ /threads//posts

仅返回 img 的 cid。

如何获取信息以便显示图像? RED 中的图像信息示例

谢谢,雷蒙德,

4

1 回答 1

0

如果您有 Base64 源,您可以尝试像这样设置 Image 对象的 src 属性:

 var image = new Image();
 image.src = 'data:image/png;base64,iVBORw0K...';
 document.body.appendChild(image);
于 2015-12-16T09:20:50.057 回答