CHAPTER 12

image

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.

9781484206362_Fig12-01.jpg

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.