开发者

Retrieving tagged pictures from flickr - results aren't what I expected

开发者 https://www.devze.com 2023-02-17 09:08 出处:网络
开发者_如何学编程I\'m trying to retrieve pictures from flickr using the Zend Framework. So far I\'m successful in retrieving images based upon a tag however the result is far from what I expected.

开发者_如何学编程I'm trying to retrieve pictures from flickr using the Zend Framework. So far I'm successful in retrieving images based upon a tag however the result is far from what I expected.

Seems that retrieving every picture tagged by a city name also returns pictures that you wouldn't want to show on a travel site even though it has been tagged by the city name.

How does gogobot manage to retrieve the correct pictures for all the cities they have? I don't want to consider having to make my own library n flickr with pictures for all the cities and have them manually tagged.


Tagging images is user driven - so I could take a photo of me in London and tag it 'me', and 'london'. Then when you search you are also getting this image, as the api would suggest.

To only get photos you really want, you will either have to specify what images you want to fetch, or as you say, start your own library.

Also, on http://www.flickr.com/services/api/flickr.photos.search.html check out the 'accuracy' field

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号