Photo script
This is what I plan to write for a simple to use photo script. yes, I know I am reinventing the wheel. But that's only because I don't like the wheels other people make. I want something tightly integrated into the wiki.
User page
php script that traverses the directory and subdirectories
- displays subfolders (and number of pics inside)
- displays thumbnails (if one exists) or auto-generates (filethumb.jpg)
- slideshow ability for that folder and subfolders (slideshow.php)
When they click on a picture:
- displays caption (if file exists)
- displays uploaded date (if file exists)
- displays comments (if file exists, file.cmt)
- allows comments (form w/ word verification)
Admin page
php script that traverses the directory and subdirectories and has a form on the bottom?
create folder (form)
- folder name
- folder description (folder.txt)
- folder created date (folder.dat)
upload file (form)
- file
- caption (file.txt)
- uploaded date (file.dat)
delete folder/pictures (button with confirmation)
- deletes corresponding caption and comments and date file
See latest comments
Log
Log all comments to a separate comment file, so we can easily track for spam etc.