Flickr CakePHP Plugin: Colorbox Demo

Demo Home | Basic | Colorbox | Galleriffic | Photostack | Blog Post

Click a thumbnail for Colorbox action...

Controller:

public function colorbox() {
	$params = array(
		'tags' => 'Public',
		'per_page' => 20,
	);
	$photos = $this->Flickr->flickrRequest($params);
	$this->set('photos', $photos);
}
		

Helper:

echo $this->Flickr->getPhotos(
	$photos,
	array('type' => 'div'),
	array('rel' => 'example1', 'title' => 'flickr_title')
);