gpt4 book ai didi

image - 在 Picasa RSS 提要中变大(原始大小的图像)

转载 作者:行者123 更新时间:2023-12-01 11:48:30 25 4
gpt4 key购买 nike

我使用的是 Picasa RSS 提要没问题,但我无法获得我上传的原始大尺寸图片。通过 Picasa 上传时,我特意选择上传“原始尺寸”(相当大)。提要 URL 仅指向较小的图像。如何从 Picasa 获取原始大图?

我可以通过检查 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>

有什么想法吗?

谢谢。

最佳答案

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

基本上,您将 &imgmax=1600 添加到 Feed URL 的末尾以获得最大可能的尺寸。

关于image - 在 Picasa RSS 提要中变大(原始大小的图像),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13672701/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com