Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a free solution for a gallery which can automatically update itself by reading a directory and seeing if any new files were uploaded recently. My ideal usage model: I upload new images with FTP to my site, and the gallery updates seamlessly.

share|improve this question
can't you write simple script and launch it every 2 minutes to check if there are any files created within those 2 minutes? If so, then add new entry to the database. You might want to check when the file has been modified as well. This because a little bit more complex if you want to keep track of deleted pictures, but you can fetch all from the database and check if something is missing. This should be rather to do with any language – mkk Sep 1 '11 at 8:47
By "solution" do you mean something that's packaged to go or are you comfortable writing a bit of JavaScript? – Peter Taylor Sep 1 '11 at 9:07

One of the simplest options would be the Single File PHP Gallery. Just put it wherever your images are, and you've got a gallery. Sub-directories will be sub-galleries; you get the idea.

share|improve this answer

Indexhibit and Stacey are both static FTP-based CMSes that can be used for simple galleries.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.