flickr oembed 不返回宽度大于 500 像素的图像

发布于 2024-11-09 11:42:02 字数 387 浏览 8 评论 0原文

我正在尝试在我的网站中使用 oEmbed。我需要使用大图像(至少 700 像素宽)。

我尝试使用此代码:

http://www.flickr.com/services/oembed?url=http://www.flickr.com/photos/majdal/4035572180/sizes/l/in/photostream/&format=xml&minwidth=1000

但返回的图像宽度小于 700px...

http://farm3.static.flickr.com/2632/4035572180_3c8015790e.jpg

有没有办法强制 flickr 返回更大的图像?

I'm trying to use oEmbed in my website. I need to use large images (at least 700px wide).

I try to use this code:

http://www.flickr.com/services/oembed?url=http://www.flickr.com/photos/majdal/4035572180/sizes/l/in/photostream/&format=xml&minwidth=1000

But the image returned is less than 700px wide...

http://farm3.static.flickr.com/2632/4035572180_3c8015790e.jpg

Is there a way to force flickr to return larger images?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夏日落 2024-11-16 11:42:02

我们已更正此问题,现在 Flickr oembed 调用将返回更高分辨率的图像(最大尺寸高达 1024 像素)。

-flickr 工作人员

We have corrected this issue and now Flickr oembed call will return higher resolution images (up to 1024px in biggest dimension).

-flickr staff

月亮坠入山谷 2024-11-16 11:42:02

似乎是 flickr 内部的限制。至少一年前我已经在 flickr api 小组中看到过这个讨论,但没有答案: http://www.flickr.com/groups/api/discuss/72157623040761625/

Seems to be a internal flickr restriction. At least I already saw this discussion inside the flickr api group one year ago and there was no answer: http://www.flickr.com/groups/api/discuss/72157623040761625/

兰花执着 2024-11-16 11:42:02

Flickr 上的这些图片是否大于 700 像素?您有机会使用 PHP API 吗? (http://phpflickr.com/)

Are those images larger than 700px on Flickr? Any chance you could use the PHP API? (http://phpflickr.com/)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文