In the last installment of our Image Gallery project, we just finished the creation of the get_items function. That was one long function! Fortunately, the others are shorter. We have three different functions that do about the same thing. They take the items in the array "lst" and display them in table format. The main differences are the links for them.
They dive right in from the code in the previous part, making the functions that will actually show the images on the pages (whether they are thumbnails or full-sized). They also include some functionality for pagination of the results and a method for displaying errors should they arrise.