Chapter 12. Creating a Dynamic Online Gallery

Creating a Dynamic Online 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.

The mini photo gallery is driven by pulling information from a database.

Figure 12.1. The 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 can ...

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

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