The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Auto Generate a Photo Gallery from a Directory

  • # April 11, 2009 at 6:02 pm

    Downloaded the files Chris made for this ( … -of-images) and have it working, but need the images to come in a specific order, like their image names for a real estate progress site. Can anyone please advise?

    # April 13, 2009 at 7:43 am

    I haven’t used or even tried the system, but I imagine that since you are using a php script to call the images in a specific folder, you should then be able to use a function to arrange them in order of last modified/created on the server, and that should put them in order of most recent to least.

    Otherwise it may be a rename job!?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed