如何生成保存在谷歌驱动器中的文档的预览? [英] How to generate preview of documents saved in google drive?

查看:12
本文介绍了如何生成保存在谷歌驱动器中的文档的预览?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用谷歌查看器创建保存在谷歌驱动器中的文档的预览 -

I am trying trying to create a preview of a document saved in google drive using google viewer with -

https://docs.google.com/viewer?authuser=0&srcid={some document id}&pid=explorer&a=v&chrome=false&embedded=true

https://docs.google.com/viewer?authuser=0&srcid={some document id}&pid=explorer&a=v&chrome=false&embedded=true

不幸的是,它仅适用于 pdf 文件.另一个重要的一点是,我想在不公开上传文件的情况下这样做.

Unfortunately it only works for pdf files. The other important point is that I want to do it without making the uploaded document public.

推荐答案

您可以使用以下链接获取 PDF 文件预览:

For get PDF file preview you can use below link :

https://lh3.google.com/u/0/d/]{FILEID}=w200-h150-pk-nu-iv1

例如:https://lh3.google.com/u/0/d/0BwVBMmQvtcsJUkNSVFllbjRLMzZab0haTEtLajE1M2haekZj=w200-h150-pk-nu-iv1

这篇关于如何生成保存在谷歌驱动器中的文档的预览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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