【发布时间】:2012-03-23 03:24:22
【问题描述】:
我正在尝试在我的网站中显示 google.picasa.com 图片(使用 PHP)。
作为输入,我有一个 picasa 网址,例如:
http://picasaweb.google.com/lh/view?q=landscape&psc=G&filter=1#5275236656640118898
或:
https://picasaweb.google.com/lh/photo/lACqXExH_Pz9OLsFkfgxmA
我需要获取图像直接 url 以将其设置为标记的 src 属性。 我使用正则表达式提取图片ID,但我无法找到如何在google Picasa API 中获取直接网址...
有什么建议吗?
【问题讨论】: