Re: Re: previous + next buttons, no DB
| From: | Ashley M. Kirchner | Date: | Fri, 19 Aug 2005 15:15:17 +0000 |
| Subject: | Re: Re: previous + next buttons, no DB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220958@lists.php.net to get a copy of this message | ||
Jim Moseby wrote:
If you use a naming convention for the files in /gallery/ that coincides with the artistic order in which they are to be displayed, then Greg's simple (yet elegant, and expertly coded) directory listing method would work like a charm. Unfortunately, they're not. This might work for the first incarnation of the gallery, but as soon as they start removing and adding images, that numbered order goes to hell in a hand basket. Imaging if they deleted #5 and in its place they want to add 4 new images. Not going to work. No, the images are all named by the picture name, such_n_such_mountain, this_beach, small_flower, blah, blah, blah.-- H | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.