- 1,251 categories
- 40,829 scripts
Updated: 07/08/2005
- This is a very simple script to generate a ''preview'' of a directory of images. It will ignore
any files which aren''t .gif, .jpg, .jpeg, or .png. Basically it will generate an HTML page with
a textbox of BBCode (for posting on forums) and the &< img&> itself so you can preview it. Saves
a lot of time when you would normally be looking at a regular directory index and clicking back
and forth!
I recommend you place this file in your favorite includes/ folder or the root of your website, and call it using the php include() function. That way should you find a need to modify this file, it''s
centrally located in one spot. ;)
** WHATEVER YOU DO...
** This file (or the file which will include() this file) needs to be named index.php
** Then you place the index.php file in the directory you wish to view.
** That''s really it.
I wrote this on a whim so feel free to clean it up, change it, distribute, whatever.
Email me if you have any questions or suggestions... webguy at 330i dot net
-Chris
- Categories
- Platforms
- Licenses
- Author
- Chris Blessing (webguy at 330i dot net)