Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
require_once('phpFlickr.php');
$f = new tinyFlickr($flickr_api_key, $flickr_api_secret);
$request = $f->photos_getSizes($photo['id']);
// assume that largest size comes last:
$large = $request[count($request)-1];
$medium = $request[count($request)-2];
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.