45) { $num_cols = 3; } else { $num_cols = 1; } $num_rows = ceil(count($birds) / $num_cols); for ($row = 0; $row < $num_rows; $row++) { echo ""; for ($col = 0; $col < $num_cols; $col++) { $index = $row + $col * $num_rows; if ($index < count($birds)) { ?> "; } } echo ""; } ?>

Choose a species to load images from Flickr.

$species
$sciname
Occurrences: $count
Max Confidence: $maxconf
Best Recording: $date $time
All About Birds

Loading Images from Flickr

", '6096'); echo ""; ob_flush(); flush(); $flickr_data = getFlickrImage($results, true); //Loop over the photos data if ($flickr_data['image_found']) { $flickr_image_data = $flickr_data['data']['photos']; $iter = 0; foreach ($flickr_image_data as $key => $img_data) { $imageurl = $img_data['image_url']; $title = $img_data['photo_title']; $modaltext = $img_data['modal_text']; $authorlink = $img_data['author_link']; echo ""; $iter++; } } } } ?>

Best Recordings for Other Species:




Occurrences:
Max Confidence:
Best Recording: