Welcome to ImageHub.

This application is an auto-configurable php script-set which implements a basic media
(images/video) management system with user accounts and a commenting system. 
As with most of my self-contained PHP applications this system manages all metadata
needed for fast browsing itself, without the need of databases/3-rd party cache systems.
The front-end runs off a directory structure located under a pre-generated "Data" folder
root. This structure lives on disk exactly as it is shown in the GUI. All system-
generated metadata resides in several folders under a similar "Meta" folder root. Keeping
the two roots separate allows migration to/from the system using 3rd party apps such as
FTP, albeit while needing to manually run the index rebuilder inside.  Overall the system
is very fast and light and minimal scripting is used, some keyboard shortcuts (arrow keys,
escape) are implemented. 
The most common media formats (JPG/PNG/GIF/MP4/MOV) are supported, and videos are 
converted to web-compatable mp4 versions for quick browsing playback. 

There are many planned areas for expansion including a much-needed responsive layout to 
facilitate mobile navigation. Other avenues include metadata and annotation editors which
would most likely fit in under the advanced mode for individual files. 


Requirements:
-Linux Server (Tested Ubuntu)
-Apache v2.4
-php (built on 5.5.9)

Install/Setup:
-Simply unzip the contents of this zip into a folder you've created in the apache 
webroot which traditionally has been "/var/www" or "/var/www/http"
-Make sure the folder you extract into and the extracted files are owned by the 
apache user (usually "www-data"), or at least have sufficient perms to allow apache
to make folders and modify files. 
  ie. While in the directoy you unzipped to.
   (chown www-data:www-data . -R ; chmod 755 . -R)
-Then visit the folder path in your browser and the setup routines should create all 
the appropriate meta directories automatically. 
-The admin account created is as follows: User:"admin" Pass:"admin"
-After setup, the "Config-Dirs.php" should contain all necessary paths to data directories.
You should not need to overwrite this if you ever want to upgrade to a later version, as 
it contains only instance-specific information. 

To upgrade simply delete all files EXCEPT FOR "Config-Dirs.php" AND Any Directories 
Referenced inside "Config-Dirs.php", Specifically the DATA_CACHE_FOLDER and META_CACHE_FOLDER
paths!  