Navigation Menu

Skip to content

chronon/flickr_demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flickr CakePHP Plugin Demos

This is a small collection of (mostly) jQuery based ways to use Flickr hosted photos in your own CakePHP application. The demos here use my CakePHP Flickr plugin, which consists of two files, a component and a helper. Click any of the links above to see the various demos.

The source code for these demos is freely available, so it should be very easy to add these (or other) types of photo galleries to your own app.

When viewing the controller code for each demo, the $params array is merged with some defaults I've set in /app/bootstrap.php. Setting defaults for this Flickr plugin is totally optional, but makes for less code in your controller. The defaults I've set for all of these demos is:

'Flickr.defaults', array(
	'api_key' => '111122223333aaaabbbbccccdddd',
	'user_id' => '1234567@N66',
	'method' => 'flickr.photos.search',
	'format' => 'php_serial',
	'extras' => 'description, date_taken'
)

All defaults can be overridden/replaced in your controller. See the docs for my Flickr plugin and the Flickr API for additional information. For more information on how to use and customize any of the demo galleries you see here, check the developer websites below (and thank them for their excellent work!):

About

A CakePHP Plugin demonstrating the use of the CakePHP Flickr Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published