This code works fine:
$f = new phpFlickr(FLICKR_API_KEY, FLICKR_API_SECRET);
$f->setToken(FLICKR_AUTH_TOKEN);
$mySetID = get_post_meta($post->ID, 'Flickr set ID', true);
$mySet = $f->photosets_getPhotos($mySetID, NULL, NULL);
foreach ($mySet['photoset']['photo'] as $photo) {
echo '<div><img src="'. $f->buildPhotoURL($photo, 'large') .'" alt="" /></div>';
}
... until buildPhotoURL prompts you to get the "original" size, after which the URL returns as "http://farm6.static.flickr.com/5607/5332878962__o". which is obviously invalid.
Although everything I found in the search seems to agree that this requires some "originalalsecret" and "originalformat" values, which are barely mentioned in Flickrβs own documentation, and phpFlickr really looks like try and use them , they obviously don't work out by default, and I have not yet seen anyone post code for how to actually provide them. I tried calling $ f-> photos_getInfo () just before the echo line, passing in various things without effect, and I begin to feel that I am missing something that everyone considers obvious, although no one ever gave a valid answer (which I can find) to repeated questions about this in the phpFlickr forum.
Note:
?