在Picasa RSS资讯提供中取得大型(原始大小的图片) [英] Get large (original size image) in Picasa RSS feed

查看:141
本文介绍了在Picasa RSS资讯提供中取得大型(原始大小的图片)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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?

我可以利用网址检查Picasa网站上的图片,因此这是照片的示例我想: https://lh3.googleusercontent.com/-yam9QV2NG40/ULKIMTKvQzI/AAAAAAAAAA4 / ownr930MvGg / s2048 /Blasket%2520Donkeys.jpg

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

我知道您可以使用s(粗体)

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

这是我的coldfusion代码来获取和使用feed:

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>

任何想法?

推荐答案

Ok我自己找到答案。请参阅此处的imgmax参数:
https://developers.google .com / picasa-web / docs / 2.0 / reference#参数

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

您基本上将& imgmax = 1600 <结束Feed URL以获得尽可能大的大小。

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

这篇关于在Picasa RSS资讯提供中取得大型(原始大小的图片)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆