Yahoo Groups archive

Digital BW, The Print

Index last updated: 2026-04-28 22:56 UTC

Message

OT: Photo gallery web-page creator

2002-01-22 by Mark Carpenter

>Has anyone run across a simple, cheap web-page creator for photo portfolios?
>David J. Bookbinder [david_bookbinder@...]

I thought I would cross-post this one. It's only ~slightly~ OT, eh? :|

I've coded just such a thing, but the features are a little different. I 
was considering opening it up to the public domain once I got the 
documentation cleaned up. It is written in PHP, so you would need that is 
running that on your web server (like http://www.he.net). Adding/removing 
galleries, images, comments, etc. is a real snap. The script creates a 
gallery for every directory it finds in the 'contents' directory, named the 
same as the directory. To add an image to the gallery, simply drop the 
thumbnail and full-size image into that image directory; the script will 
find it and display it. No mucking with HTML every time you want to simply 
add or remove an image. My next step is to add a small script that will let 
you upload an image from a web page so that you don't have to use FTP (just 
thought of that one!). If anyone is interested in being a "beta-tester" let 
me know. It's actually in release shape now, but I would be interested in 
feedback as to what the public at large would like to see in it. The end 
result will be a set of scripts that allows you to create a site of 
galleries with minimal set-up and be maintainable via a web-page.

Here are a couple of examples (snaps from my brother's wedding). The second 
one is a small sub-set of the first that I used to test the 'caption' 
feature. Colors, fade speed (for IE users), what side the thumbnails appear 
on, etc., are all configurable. The large images will be a little big for 
your screen if you are only on 800x600. I trust most here have boosted 
their resolution, though.

http://www.photogs.net/markc/wedding/
http://www.photogs.net/markc/test/

You can link to a specific gallery or image by putting the gallery name and 
image number in the link:

http://www.photogs.net/markc/wedding/index.php?gallery=040-Bachelor_Party
http://www.photogs.net/markc/wedding/index.php?gallery=050-Wedding&image=0130

The pages on the row of links above the galleries can contain just plain 
text or include images and links via HTML. They are named based up their 
file names in the 'content' directory. If your server has mySQL, then you 
can use the guestbook also (feel free to try it out). The gallery intro 
pages and the comments are inserted if the content is there and also may be 
plain text or HTML. The pages  and galleries are sorted by being prefixed 
with those numbers you see in the links. They are stripped when they are 
displayed in the navigation links.

E-mail me off-list if you are interested in trying it out and I'll whip up 
an instruction sheet and some set-up/administration scripts this weekend.

Mark C.
yahoo@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.