Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get large (original size image) in Picasa RSS feed

I'm using a Picasa RSS feed no problem but I can't get the original large size image that I uploaded. When uploading via Picasa I purposely chose to upload 'Original size' (quite big). The feed URL's only point to smaller images. How do I get the original big image from picasa?

I'm able to hack to URL from inspecting the image on the Picasa website so this is an example of the photo I want: https://lh3.googleusercontent.com/-yam9QV2NG40/ULKIMTKvQzI/AAAAAAAAAA4/ownr930MvGg/s2048/Blasket%2520Donkeys.jpg

I know that you can change the URL above with the s (bold bit above) in the URL.

So here's my coldfusion code to get and use the feed:

<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>

Any ideas?

Thank you.

like image 300
IanOSullivan Avatar asked Dec 13 '25 10:12

IanOSullivan


2 Answers

Ok I found the answer myself. See the imgmax parameter here: https://developers.google.com/picasa-web/docs/2.0/reference#Parameters

You basically add &imgmax=1600 to the end of the feed URL to get the largest possible size.

like image 130
IanOSullivan Avatar answered Dec 15 '25 18:12

IanOSullivan


Adding &imgmax=2048 to the url works for me as my images are 1920 width.

like image 38
mikesl Avatar answered Dec 15 '25 18:12

mikesl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!