2012-12-02 132 views
3

我正在使用Picasa RSS源没有问题,但无法获取我上传的原始大尺寸图像。当通过Picasa上传时,我故意选择上传“原始大小”(相当大)。供稿网址只指向较小的图片。如何从Picasa获取原始大图像?在Picasa中获取大图像(原始大小图像)RSS提要

我能够从Picasa网站上检查图像劈死URL所以这是我想要的照片的例子:https://lh3.googleusercontent.com/-yam9QV2NG40/ULKIMTKvQzI/AAAAAAAAAA4/ownr930MvGg/S2048 /Blasket%2520Donkeys.jpg

我知道,你可以用URL中的s(粗体位)更改上面的URL。

因此,这里是我的ColdFusion代码来获取和使用的饲料:

<cffeed name="picassa_RSS"source="https://picasaweb.google.com/data/feed/base/user/104080781603408027307/albumid/5817402728494564577?alt=rss&kind=photo&hl=en_US"> 

<cfoutput> 
<!--- Loop through picasa RSS feed and output thumbnails ---> 
<cfloop array="#picassa_RSS.item#" index="i"> 
<img alt="img" src="#i.group.thumbnail[2].url#" class="picture"> 
</cfloop> 
</cfoutput> 

任何想法?

谢谢。

回答

1

添加& imgmax = 2048到网址适合我,因为我的图片是1920宽度。