Categories

Updated: 07/08/2005

Image directory index with BBCode generation

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
Similar Scripts for "Image directory index with BBCode generation"

Creating a Photo Gallery

This tutorial teaches you how to store a picture file on the server so that you can create a photo gallery of images that users upload to your site. The coding sample initially displays a form for you to fill in; browsing is enabled. The information ...

TECFA''s PHP Page

This site provides links, tutorials and sample codes on PHP programming. Its example code directory for over 20 PHP code samples including MySQL database manipulation, form-to-file script, .

Image Helper

Got a huge directory of images and need to figure out what''s in there? Just FTP this PHP script into any directory of images and it will cycle through every image in the directory (visually) using your browser and show you the filenames and dis...

phpOpen

phpOpen is a free PHP script that grabs the contents of the Open Directory dynamically and formats them to make your own version of the Open Directory. This means that you can add an entire web directory to your own website without needing large spac...

phpHoo

phpHoo is a PHP link/directory management script that allows you to build a Yahoo like Web directory on your Web site. It requires the MySQL database to store and retrieve data. Main features include: Organizes information hierarchically, Allows user...
©2003-2008 jCay.com