PHP Photo Archive
Table of contents
- About
- Installation
- Change-log
- Screen shots
- Github
Photo Archive is a PHP based script that can generate a file browser style environment within a web browser for viewing photos on a web server.
Requires PHP 5.3.0 or higher
To install:
- Upload the contents of the zip file to the desired location on your web server
- Upload your images or folders of images to the ‘images/’ directory
- Open a web browser and go to the location of the ‘Photo Archive’ ript, browse & enjoy
Version 1.3
- Added code to automatically generate thumbnails for each image when users view a gallery
- When viewing galleries with more than one page the arrow keys and B (back)/N (next) keys have been bound to changing page
- Information txt links have been moved to show after the list of subdirectories giving a more streamlined appearance
- When viewing galleries with more than one page the previous and next buttons have been enlarged to the full height of the contents div along with being given a pastel background
Version 1.2
- Replaced lightbox with colorbox due to it’s ability to display a wider range of content and smaller size
- Added a preview of the contents of each folder on hover
- Added the ability to read .txt files to allow users to include an information file within each folder
Version 1.1
- Cosmetic work to enhance the look and feel
- Worked on PHP code to display images in alphabetical order (0-9, A-Z, a-z)
Version 1.0

Photo archive folder structure

Example of PHP Photo Archives folder contents

Example of a a text document viewed in PHP Photo Archive

An example of an enlarged photo in PHP Photo Archive