I really like this and have downloaded the .zip file. I would be all for having you clean it up and make installing it easier. Looking at the files, I see you have a large range of directories that the script uses. (/data/photos) or (d:/profiles/bobbitt/Inetpub/wwwroot/cgi-bin/photo.gif") and (../img/photo.gif).
I'd love to test this out for myself but knowing what to change and not to change seems to be the headache here.
Great idea though, congrats on pushing it out to all of us. Hope to see some instructions with this.
*edit* It's going slowly but I'm putting it together step by step.
Perhaps the "Error - Error opening file for writing" comment when trying to write to the gallery directory could be clearer. I didn't know if it was the log file or the image that it couldn't open. (Had to set my permissions to my gallery directory to chmod 666).
Also, one has to create a 0 byted log file (gallery.log) before the log file will start working. Perhaps include this in your zip file. At least, that's what I had to do before I could get past the log error messages
Another idea (sorry, just brain storming) is a file size limit. Someone could rename a 500meg bin file to image01.jpg and submit it, crashing the server.
Question: If a user is banned from the message board, will the gallery script detect this and disallow photo submissions? Can a user who's IP is banned from posting on UBB still submit as well?
Ever thought of a rating system? Users could vote for their favorite image. Then you could have a "Top 10 Images" within the photo gallery.
This has great potential and I hope you continue to work on it in your spare time as it will get a lot of use and support!
Last note: Just got it working. For anyone wanting to install this, throw it into your cgi-bin directory and run the gallery.pl or album.pl from your browser. Any errors will happen on screen and you can fix them in the associated .pl file.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.