Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 237
Member
Member
Offline
Joined: Apr 2001
Posts: 237
Folks,

I just finished developing a tool that allows UBB users to upload photos to a public gallery.

It's not very polished at the moment, but I was wondering how much interest there was in such a tool. I could clean it up and make it easier to install if there were enough interested parties.

If you want to see it in action here it is:

Upload photo page:
http://cdnarmy.ca/cgi-bin/gallery.pl

View photo gallery:
http://cdnarmy.ca/cgi-bin/album.pl

If anyone is really hot to trot, I can provide the source and some advice on installing it as is. It's essentially just the 2 PERL CGIs listed above.

Looking for feedback,

Sponsored Links
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
WOW! I have been searching a long time for such a hack, I really would like to use it but the only thing i'm missing is the ability for users to create their own sections/directories/categories and the possibility to list all categories
a) alphabetically
b) by date (chronologically)
c) by user who uploaded the pictures
It would be also a great thing to resize all thumbnails to the same size, so the overview would look more 'clean' -
GREAT! please drop me an email concerning this hack 2
[email protected]
thanks a lot and i'm wondering why noone else seems to be intersted in this hack frown
chris
http://technoforum.de

Joined: Apr 2001
Posts: 237
Member
Member
Offline
Joined: Apr 2001
Posts: 237
I've put the scripts online at http://perl.cdnarmy.ca/album26.zip. They still need some work, but it's coming along.

I like your ideas, I'll throw them on to the "to do" list. They're certainly all possible. The thumbnails are actually built as files (using Thotor, a thumbnail generator), so they can be built according to personal taste. I'd love to have an "on the fly" thumbnail generator, but I haven't been able to find one...

Thanks, and keep the comments coming!

[ June 11, 2001 02:19 PM: Message edited by: bobbitt ]

Joined: Feb 2001
Posts: 108
p2k Offline
Member
Member
Offline
Joined: Feb 2001
Posts: 108
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 smile

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.

p2kay

[ June 12, 2001 07:55 AM: Message edited by: p2k ]

Joined: Apr 2001
Posts: 237
Member
Member
Offline
Joined: Apr 2001
Posts: 237
Ok, the 2 major things I'm working on first are:



    [*] Merging gallery.pl and album.pl into one program, so they can share settings.

    [*] Moving all the settings out to a config file, and cleaning up the installation instruvtions.


Once that's done, I think I'll be in a better position to address the other requests. Keep nagging me if you don't hear from me in a few days...

Cheers

Edit: Wow, P2K your post changed on me! I'll have to go back and read it again, looks like you've added some great feedback. Thanks! (Just wanted to say that I wasn't ignoring your message with this post...)

[ June 12, 2001 11:00 AM: Message edited by: bobbitt ]

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile

Thanks Mike for adding your work here, I am gonna move this thread to our "beta" forum, you should see a good bit more response there...:D


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)