picpages 1.0.1 README				18 august, 2004

this is my picpages scripts, this time in PHP. i rewrote it to be 
significantly more flexible, this is basically a drop in package for people. 

UPDATE - 1.0.1

this version fixes some display bugs for Safari/OS X and IE on Windows.

REQUIREMENTS

you'll have to have a web server that can understand PHP scripts already
configured. you'll have to write access to your web directory. that's it.
no database, nothing else needed ...

INSTALLATION

in the directory of pictures, drop the "index.php" script and CSS file
ppstyles.css in there. pictures, captions, the stylesheet, and the index.php 
script are all in the same directory. when you create a new album, you should 
install these files in there, too.

browse to that directory, ie

	http://my.server.com/~me/pictures/camping/index.php

that's it, and now you can add captions, too. well, you may also want to 
customize it with your name ...

CAPTIONING

pictures are captioned in files name with the number of the page (ie "1")
followed by the ".txt" extension, starting at 0. the caption for picture 1
would be stored in "1.txt", in the same directory as the index.php script
and the picture. caption files can be multiline.

CUSTOMIZATION

you have a few files which deal with customization for your script ...

	TITLE -- the title for the current picture set.
	NAME -- your name, so people know who you are
	HOMEPAGE -- your homepage as a URL
	EMAIL -- so people know how to contact you

CSS

CSS (cascading style sheets) support is available now (thanks to eldan)
using the supplied stylesheet, "ppstyles.css". edit this file to change styles
and colors as desired.

HISTORY

picpages started life as a series of korn shell (ksh93a) scripts that
generated static pages. they worked with tools like "ImageMagik" to 
resize and rotate images and order them. this was reworked in mid-2004
to be a single PHP script which increased flexibility. version 1.0
introduced CSS support and fixed a few bugs, and also validates as 
valid XHTML 1.0 transitional.

AUTHOR

the primary author of picpages is jose nazario, with added functionality
from eldan. patches always welcome. validation help from cameron and 
natarajan.

DOWNLOAD

you can download picpages-1.0.1 here.

TODO (for 2.0)

o auto-support for thumbnails?
o comments on pictures?

COPYRIGHT

# Copyright 2002-2004 Jose Nazario 
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.