Filtering inappropriate images

Topics: Developer Forum, User Forum
Mar 29, 2009 at 4:52 PM
Hi,
I am creating a random image generator using Flickr for a class project. Although Flickr does apply censorship to its images, we are still getting some inappropiate images. Is there any way to apply filters for inappropriate content? Right now we are just getting images using random upload dates.
Thanks!
Coordinator
Apr 9, 2009 at 2:00 PM
Edited Apr 9, 2009 at 2:03 PM
The following shows an example of searching for safe photos:

            Flickr f = new Flickr();
            PhotoSearchOptions o = new PhotoSearchOptions();
            o.Tags = "colorful";
            o.SafeSearch = SafetyLevel.Safe;

            Photos ps = f.PhotosSearch(o);
            foreach (Photo p in ps.PhotoCollection)
            {
                Console.WriteLine("Photo '{0}' should be safe.", p.Title);
            }

This does rely on the Flickr censorship working correctly.
Apr 21, 2009 at 6:40 AM
Edited Apr 21, 2009 at 6:45 AM
Is there a way to get at this info given a photoid/secret?  PhotoInfo doesn't have it.  I'm getting my list of Photos via PhotosetsGetPhotos, which doesn't take a PhotoSearchOptions.

Since PhotosetsGetPhotos doesn't take a PhotoSearchOptions, is there any way for the order of the returned images to follow the SortOrder?
Coordinator
Apr 27, 2009 at 8:21 AM
I've just had a quick look through the API and I can't actually see any way of returning this information for a specific photo.

Also, the photos in a photoset are always returned in the same order - there is no way to override this apart from returning all the photos and doing the reordering on the client side.