Can any software do this?

gregor7777

Platinum Member
Nov 16, 2001
2,758
0
71
Hi All

I'm looking for software which I can drop on to my server that will share all of my directories of photos with my family.

Essentially I want to allow family members to browse all of my photos, and I want to be able to just drop in a folder of pics and allow it to be live(with maybe a script doing the image resizing...I can figure that part out).

I could probably program this on my own but if someone has already created such a thign I don't need to reinvent the wheel so to speak.

Any suggestions?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
I use something called "simple php gallery" which basically reads a directory layout on your server and displays a page of thumbnails for each. Then, of course, when you click on an image you get the larger version (with a configurable resize). It does all resizes automatically and caches them (uses gd). Unfortunately, the developer seems to have disappeared but the code morphed into some other (probably more complicated) project. I don't know what it's called now but the simplicity of the original is beautiful. If you don't find anything else (although I'm sure you will) I'd be happy to provide the code for what I'm using.

Edit: you can see the gallery in action here. The only problem is that labeling and captioning the folders/pics is very tedious.
 

gregor7777

Platinum Member
Nov 16, 2001
2,758
0
71
Originally posted by: kamper
I use something called "simple php gallery" which basically reads a directory layout on your server and displays a page of thumbnails for each. Then, of course, when you click on an image you get the larger version (with a configurable resize). It does all resizes automatically and caches them (uses gd). Unfortunately, the developer seems to have disappeared but the code morphed into some other (probably more complicated) project. I don't know what it's called now but the simplicity of the original is beautiful. If you don't find anything else (although I'm sure you will) I'd be happy to provide the code for what I'm using.

Edit: you can see the gallery in action here. The only problem is that labeling and captioning the folders/pics is very tedious.

actually that exactly the sort of thing I was looking for...is that open source?

 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: gregor7777
Originally posted by: kamper
I use something called "simple php gallery" which basically reads a directory layout on your server and displays a page of thumbnails for each. Then, of course, when you click on an image you get the larger version (with a configurable resize). It does all resizes automatically and caches them (uses gd). Unfortunately, the developer seems to have disappeared but the code morphed into some other (probably more complicated) project. I don't know what it's called now but the simplicity of the original is beautiful. If you don't find anything else (although I'm sure you will) I'd be happy to provide the code for what I'm using.

Edit: you can see the gallery in action here. The only problem is that labeling and captioning the folders/pics is very tedious.

actually that exactly the sort of thing I was looking for...is that open source?
Yep, the original was under some sort of gpl-like creative commons license. I managed to find the original distribution zip which you can grab from here. There's a pretty decent readme in there to help you.

The nice thing about this, if you're worried about security, is that it only needs write access to two folders - for thumbnail and resize caching - or none at all if you disable caching (but you'd better have a fast cpu if you don't want the pages to be slow...). So you can take write access away from the webserver almost altogether.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Hmm, a quick search tells me you're using windows as your server. I don't know how easy it is to get gd working on windows (as I think php always comes precompiled in a single package for windows) but there are a few instructions here. In openbsd it was just a quick pkg_add php-gd and it Just Worked :p