Flickr CakePHP Plugin:
Galleriffic Demo
Demo Home |
Basic |
Colorbox |
Galleriffic |
Photostack |
Blog Post

D

N

L

B

F

C

B

H

N

N

C

C

R

T

W

W

S

T

T

P
Controller:
public function galleriffic() {
$params = array(
'tags' => 'Public',
'per_page' => 20,
);
$photos = $this->Flickr->flickrRequest($params);
$this->set('photos', $photos);
}
Helper:
echo $this->Flickr->getPhotos(
$photos,
array('type' => 'li'),
array('class' => 'thumb', 'name' => 'flickr_id', 'title' => 'flickr_datetaken'),
array('alt' => 'flickr_title'),
array(),
array(
'type' => 'div',
'location' => 'after',
'class' => 'caption',
'caption' => 'flickr_title'
)
);