I've re-written this simple utility a number of times over the years, this is the latest incarnation. It lets you instantly view a slideshow of the images in a folder on a web folder. All you have to do is copy the file into the directory. Only images within that directory can be viewed, so it is safe (can't be used to get info about other directories).
- An example of what I'm talking about.
- All of the functionality is contained within a single file. It uses JavaScript to control the slideshow and PHP to build it.
- Syntax-highlighted source code
- Copy and paste the text into a file called index.php in the folder. Or...
- Raw source code
- Save this as a file called index.php in the folder. Finally, open the URL to the folder in a browser.
It's dead simple, but sure is handy.
Sunday, April 13. 2008 at 16:46 (Link) (Reply)