MegaGallery, Part 5: Customization

So far, we have a pretty nice looking photo gallery, but if you will remember in my introduction to this project, I wanted to create a gallery model that was reusable and easy to implement. In this post, we will take our first steps toward easy customization of our gallery. Continue reading

Advertisements

MegaGallery, Part 4: Automation with PHP

The next step in our MegaGallery project is to use the power of PHP to automate much of the work for us. With a gallery of 5-10 images, setting up each of the links to the images would not take a lot of work, but with a gallery of 20, 50, or more, you would spend hours just setting up the links and thumbnails.

For this part of the project, we will use FastTemplate to help us put everything together quickly. There are better PHP template frameworks out there, like SMARTY, but SMARTY is overkill for this project. (While writing this post, I could not get a connection to the SMARTY homepage. Not sure what that is all about.) Continue reading