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.
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.
Available demos:
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:
1 2 3 4 5 6 7 8 |
|
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!):