Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint:
Build a Photo Gallery Using CakePHP and Flickr
Apr 05, 2007 @ 09:28:00

A new tutorial has been posted on the SitePoint site today - Jonathan Snook's look at combining CakePHP and Flicker to build a photo gallery.

Want to share your Flickr photostream with the world, but only once you've given it a nice, customized touch? Look no further than CakePHP -- and a few lines of code -- to pull off some magic! In this article, we'll use the Flickr API and CakePHP to take the images we've loaded onto Flickr and use them to build our own, non-Flickr web gallery.

He steps the reader through the tools needed (including the Flickr Component for CakePHP) and how to get things set up and working together. With just a few simple calls to the Flickr API, the script grabs a photoset, gets the information about them and, finally, grabs a list of them to use in the photo gallery layout. He even throws in a sample usage of the popular Lightbox Javascript helper to show off the photos.

tagged: tutorial cakephpframework flickr photo gallery lightbox tutorial cakephpframework flickr photo gallery lightbox

Link: