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!):