Digital Archive by Rok Krulec of CodeArtists(sm)

Digital Archive is a PHP script for changing default Apache Directory Index output



If, for any reason, You don't like Apache directory listing output You can change it to look SEXY by using Digital Archive PHP scripts. Digital Archive achieves this functionality by altering DirectoryIndex directive in Apache global httpd.conf configuration file or local .htaccess configuration files. DirectoryIndex Apache directive tells Apache which page to show when certain directory is accessed. Normaly this is page named index.php or index.html, but it can also be an absolute server URI path to a PHP script like /~user/digital_archive/da.php , which then parses current directory entries and outputs them in a SEXY directory listing.


Download:
* Full versions include main scripts, icons and config
* Upgrade versions only include main scripts, no config, so You can safely unzip over the old installation
* Download Here

Examples of Digital Archives:
* rok.codeartists.com/pix
* rok.codeartists.com/projects
* rok.codeartists.com/public
* boarderweek.marjetica.net

Features:
+ no need for module compilation nor Apache patching and recompilation
+ output listing of directory can be changed just by adding .htaccess file
+ output of all subdirectories is also changed
+ customiseable global header and footer
+ it can generate thumbnails and low resolution pictures for picture archives
+ customiseable icons and descriptions for different filetypes
+ customiseable apearance with CSS stylesheets
+ make links to other pages using ordinary *.URL files compatible with IE
+ add .header.php and .footer.php files to directory for additional headers/footers or functionality
+ add *.info file to add a description to any file
+ easily extensible to support file manipulation, comments, search e.t.c.
+ looks and feels sexy

Image Functions - thumbnails, lowsize:
One would use image functions to create Image Gallery with photos taken for example by a digital camera. Images of new digital cameras could be quite large, so it is nice to be able to see the thumbnails before downloading whole file. Digital Archive can create thumbnails of JPG photos and show them instead of icons. Another usefull function is creation of lowsize images. When user clicks on thumbnail or filename, he is presented with lower quality and lower size photo than original, to preview it before downloading full original. If he decides, user can finally download an original full size, full quality photo.

Drawbacks:
+ bad HTML, tested only with IE, looks OK on Mozilla, but it could look better
+ for thumbnail and lowsize creation, directory permissions must be set to Apache user writeable
...I am working on it.

Requirements:
- Apache 1.3.x or 2.x required, PHP 4.x required
- gdlib compiled in PHP if You need image manipulation support

My questions to the world:
+ Does anybody have an idea how to convince Mozilla to recognise background-color: CSS command ?
+ Does Mozilla suck ?
+ Send answers to Rok.Krulec@codeartists.com

Todo:
* some kind of module extensions
* more filetype descriptions
* different types of sorting
* file manipulation with session authentication = maintainer mode
* description manipulation via web interface
...

Developement policy:
+ configuration files will only change between major versions
+ It is safe to switch between minor versions using upgrade packages

License:
* Free to copy and derive for non-commercial use as long as You maintain copyright notice and send me updates
* I like to see visible copyright notices but this is not necessary
* Price is 99$ via Western Union for commercial use - You get Extented Version

Current Status:
* Got 15.200 downloads, 53 registered users, 0 security bugs and 0 dollars so far.

Registration and Bug reports:
* Please CLICK HERE TO REGISTER to receive ONLY eMails about eventual SECURITY problems and upgrades
* Please send bug reports to Rok.Krulec@codeartists.com

Author: Send dollars, books, beer, food, postcards, wives...something from my Amazon Wish List or visit me at:

Rok Krulec
Vojkova 3
SI-6320 Portoroz
Slovenia
Europe

Credits:
* Ana Krulec (PNG icons)
Please send more DSC files and PNG icons

Installation and Usage:
1. Download digital_archive_full ZIP file from http://rok.codeartists.com/projects/digital_archive/download/
2. Unzip the file to some public web directory
3. Check the absolute installation path by surfing to installation directory
4. Edit .htaccess file according to Your instalation
5. Edit config.php
6. Copy .htaccess file to whichever directory You want to be processed by Digital Archive

If You want to make thumbnails or lowsize images:
1. Point Your Web browser to the Web Site ex.: http://rok.codeartists.com/pix/
2. Alter the address with Your thumbnails_magicword ex.: http://rok.codeartists.com/pix/?make_thumbnails
(Make sure You have correct permissions on the destination directory, because Apache must be able to write thumbnails)
3. Reload the Web Site without a command ex.: http://rok.codeartists.com/pix/
4. Enjoy

Repeat the same procedure for lowsize pictures generation

To add a description to any_filename write any_filename.info text file
You can put .header.php and .footer.php file in each directory to add header
after global_header.php and footer before global_footer.php.

Icon files and filetype descriptions are located in /resources/ directory.

Last update: 02.01.2003@22:23

Digital Archive Software Copyright © 2000-2003 by Rok Krulec of CodeArtists(sm)