Index of /files/code/picscript

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]picscript-1.1.tar.gz 2006-07-30 18:28 1.3K 
[   ]picscript-1.2.tar.gz 2006-07-30 18:28 1.3K 
[   ]picscript-1.4.tar.gz 2006-07-30 18:28 7.0K 
[   ]picscript-1.5.tar.gz 2006-07-30 18:28 8.3K 
[   ]picscript-1.5a.tar.gz 2006-07-30 18:28 8.4K 
[   ]picscript-1.5b.tar.gz 2006-07-30 18:28 8.5K 
[   ]picscript-1.6.tar.gz 2006-07-30 18:28 9.0K 
[   ]picscript-1.7.tar.gz 2006-07-30 18:28 8.5K 
[   ]picscript-1.7a.tar.gz 2006-07-30 18:28 8.5K 
[   ]picscript-1.8.1.tar.gz 2006-07-30 18:28 9.8K 
[   ]picscript-1.8.2.tar.gz 2006-07-30 18:28 9.8K 
[   ]picscript-1.8.3.tar.gz 2006-07-30 18:28 9.8K 
[   ]picscript-1.8.4.tar.gz 2006-10-19 21:34 9.8K 
[   ]picscript-1.8.tar.gz 2006-07-30 18:28 9.6K 
[   ]picscript-1.9.tar.gz 2007-11-04 16:45 12K 
[   ]picscript-1.10.tar.gz 2010-08-24 14:18 12K 
[   ]picscript.tar.gz 2010-08-24 14:18 12K 

Here's a little utility I threw together to make thumbnails of images in a
directory.

Requirements are:

* A webserver
* PHP with the GD and EXIF modules enabled
* GNU make
* ImageMagick

Quick Installation/Upgrade:

% cd <yourphotodir>
% wget -O - -q http://www.prolixium.com/files/code/picscript/picscript.tar.gz | tar zxvf -
% make clean (only needed if upgrading from >= 1.9)
% make

Detailed Installation:

Unpack picscript.tar.gz into the target directory (the one with images
in it) and run 'make'.  This will create a thumbs directory, and a
descriptions.txt file.  The first line of the descriptions.txt file is
the name of the picture gallery, change it to whatever you want, it'll
be at the top of every gallery page.  The second line should be either
"default_descriptions" or "no_default_descriptions" depending on whether
you want the filename to be the default description of untitled pictures
or not, respectively.  The rest of the file should be in the form of
"filename.jpg,title of filename.jpg."  This will override the default
description for that particular picture.

You may rerun 'make' at any time if you've removed or added images.
This will not alter the current descriptions.txt file, don't worry.

It's not too fancy, but it makes my life easier, so I figured I'd post
it.

Note: this will run a tolower() function on all the images in the
directory, as well as replace & with and.  This is just to clean stuff
up, so make a copy of your images first, if you like capitalization.

Mark Kamichoff
prox@prolixium.com

Current STABLE release: 1.10
Current DEVELOPMENT release: 1.10

Changes since 1.9
----------------------------------------------------------------

* Fixed sorting.  Now sorts by inode (probably sort by EXIF date later)

Changes since 1.8.4
----------------------------------------------------------------

* Now works well with non-4:3 images
* Major changes to picscript.sh, but mostly cleanup
* New brighter stylesheet, enabled by default (you can select the
  stylesheet in your browser)
* XHTML 1.0 and CSS compliant

Changes since 1.8.2
----------------------------------------------------------------

* Now works with windows-ized capitalized extensions

Changes since 1.8
----------------------------------------------------------------

* Fixed "next" picture caption/name bug
* Fixed PHP error for EXIF data on non-JPEG images
* Fixed some missing data in the EXIF section

Changes since 1.7
----------------------------------------------------------------

* Added EXIF support
* Added some CSS spiffiness

Changes since 1.5
----------------------------------------------------------------

* Cleaned up the script, now uses a Makefile
* Doesn't dynamically resize images anymore
	* Might re-institute this in the future

Changes since 1.4
----------------------------------------------------------------

* Added dynamic resizing when a thumbnail is clicked on

Changes since 1.2
----------------------------------------------------------------

* Changed descriptions.txt format
* Added support for multiple pages per gallery
* Added support (with cookies) for saving amount of pictures requested
  per page
* Added CSS support
* Minor stylistic enhancements