在网站上显示存储在Google云端硬盘中的文件(例如图片) [英] Displaying files (e.g. images) stored in Google Drive on a website

查看:112
本文介绍了在网站上显示存储在Google云端硬盘中的文件(例如图片)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能在公共网站上访问/显示像存储在Google云端硬盘中的图片。 blockquote>

更新:正如宣布,谷歌已于2016年8月弃用此功能。以下是来自Google的最终更新和其他选项。

是的,这是可能的。如果您将文件放在公共文件夹中,则可以通过以下URL获取文件夹中的任何文件: $ b

  https:/ /googledrive.com/host/<folderID>/<filename> 

以下是 Google Drive SDK文档


I was wondering if its possible to access/display files like images which are stored in Google Drive on a public website.

解决方案

UPDATE: As was announced, Google deprecated this feature in Aug 2016. Here's the final update from Google with alternatives.

Yes, it's possible. Provided that you put your files in a public folder, you can get any file in a folder by this URL:

https://googledrive.com/host/<folderID>/<filename>

Here's the Google Drive SDK documentation.

这篇关于在网站上显示存储在Google云端硬盘中的文件(例如图片)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆