<?php
/* EXAMPLE 1 */
$flickr = new Feedee('flickr');
$flickr->setUser('75062593@N00'); //if you want the user photostream, just setup setUser()
$flickr->setSet('72157625631991185'); // if you want a Set of some user, you need to setup setSet() too
foreach ($flickr as $photo)
{
echo $photo->title . '<img src="'.$photo->medium.'" />';
}
//ATTRIBUTES FOR BOTH TYPE, USER PHOTOSTREAM OR USER SET
$photo->title;
$photo->link;
$photo->small; //for small photo
$photo->medium; //for medium
$photo->big; //for big
$photo->original; //for original size
/* Depending on how you uploaded the photo, some size wont be available */
|