2012-12-02 65 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寬度。