使用Flickr上传照片 [英] Uploading a photo with Flickr
问题描述
我今天才刚开始使用Flickr API,但我有一个问题:
I just started working with the Flickr API today and I have a question:
如果我允许某人将照片上传到我的网站,然后为了不将其存储在我的小型本地服务器上,我如何使用PHP Flickr API将照片上传到Flickr?
If I allow a person to upload a photo to my website and then in order for me not to store it on my small local server, how can I just upload that photo to Flickr using the PHP Flickr API?
那应该是一个非常普遍的用例,对吗?我使用PHP.
That should be a pretty common use case, correct? I use PHP.
谢谢, 亚历克斯
推荐答案
Flickr上传API: http://www.flickr.com/services/api/upload.api.html
Flickr Upload API: http://www.flickr.com/services/api/upload.api.html
简单的PHP脚本可在flickr上上传图片 http://www.flickr.com/groups/api/discuss/72157621716056865/
Simple php script to upload pics on flickr http://www.flickr.com/groups/api/discuss/72157621716056865/
也许这会为您指明正确的方向,因为取决于您在上传文件后要处理的文件.
Maybe this will point you in the right direction since depending on what you want to do with your files after you upload them.
这篇关于使用Flickr上传照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!