Creating a Dynamic Photo Gallery

The previous chapter concentrated mainly on extracting the contents of the images table as text. This chapter builds on those techniques to develop the mini photo gallery shown in Figure 12-1.


Figure 12-1. This mini photo gallery is driven by pulling information from a database

The gallery also demonstrates some cool features that you’ll want to incorporate into text-driven pages, too. For instance, the grid of thumbnail images on the left displays two images per row. Just by changing two numbers, you ...

Get PHP Solutions: Dynamic Web Design Made Easy, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.