2011-11-03 161 views
0

我试图在我的网站(使用PHP)中显示google.picasa.com图片。从picasa获取图片直接网址

作为输入,我有一个Picasa网络URL,如:

http://picasaweb.google.com/lh/view?q=landscape&psc=G&filter=1#5275236656640118898 

或:

https://picasaweb.google.com/lh/photo/lACqXExH_Pz9OLsFkfgxmA 

我需要得到像直接链接到其设置为一个src属性标签。 我使用正则表达式来提取图片ID,但我找不到如何获得谷歌Picasa API中的直接url ...

有什么建议吗?

回答