My very basic, easy to install gallery page (attn: rook)

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

My very basic, easy to install gallery page (attn: rook)

Post by bitWISE »

http://perfunction.com/designs/gallery/index.php
http://perfunction.com/designs/gallery/Gallery.zip

All you need to do is drop index.php and gallery.inf into a directory containing pictures. All non pictures and thumbnails are ignored.

The script will automatically reduce the images to thumbnail size for the page (if needed). If you want to cut down the load time you can upload filename.ext.tn where filename.ext is the same as the full version you have thumbnailed.

The inf file can be modified so that the first line contains the gallery name and the following lines contain picture comments. If you want to change the style just toss a style.css into the directory with your tweaks.

Want any more features? Any bugs? Let me know.

edit: doh, forgot to upload my inf after testing something.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

nifty
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
User avatar
duffman91
Posts: 1278
Joined: Thu Jan 25, 2001 8:00 am

Post by duffman91 »

This is quite handy, thanks!
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Post by bitWISE »

duffman91 wrote:This is quite handy, thanks!
n/p. I might work on an uploader interface. The image class in PHP can actually create and modify JPEGs so I could automate the entire process with a form.
Post Reply