cphoto is an HTML photo album generator. It more or less takes a directory of images and creates thumbnails and cropped images (as you specify) and wraps it all up into a pretty HTML package. cphoto generates static sites so nothing has to be running on the server.
These instructions are mostly Windows biased. cPhoto works fine on Unixy systems (I run it there) but I figured if you're running Unix you could figure out.
Unzip the ZIP file into a directory. We'll call this directory cPhotoHome.
Make sure you have JDK or JRE 1.4 in your path. To test that you have JDK 1.4 you can open a command prompt and type:
You should see something like this:
java version "1.4.1-rc" Java(TM) 2 Standard Edition (build 1.4.1-rc-b19)
If everything goes as expected, the UI should open.
To run cphoto as a command line app you need to have cphoto.jar in your classpath and cPhotoHome/libs in your java.library.path. The main class is cbg.photo.CPhoto
If you're in the cPhotoHome directory the following will work:
java -classpath libs/cphoto.jar -Djava.library.path=libs cbg.photo.CPhoto
When running cphoto from the command line you must specify a photo src directory by using the -src switch.
-src ./photos or -src photos -src d:/fun/Photos -src ~/photos -src /home/me/pics
Copyright® 2002-2011, Chris Grindstaff
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.