PictPress is a WordPress 1.2 plugin that automatically generates a post with thumbnails and picture posts for all images found in a directory. Thumbnails and pictures are resized on the fly and stored in a cache directory. For an example see my post with pictures of a Treble concert. Requirements Installation
  1. Unzip pictpress.zip in the plugin directory of your WordPress site. This creates a pictpress plus a pictpress.php file.
  2. Go to the Plugin admin page and press the install link.
  3. Enable the PictPress plugin on the Plugins admin page.
  4. Make sure the web server will have write access to the upload directory for PictPress to be able to create the cache directory there.
Usage
  1. First upload one or more JPEG images to a subdirectory of the WordPress upload directory according to the setings for pp_image_dir (I use %year%/%monthnum%/%postname% myself).
  2. Then create a new post that will use this directory (in my case by maing sure that date and Post Slug are the same as used for the directory).
  3. When pressing Publish, thumbnails for all images will be appended to the post (with a --more-- marker after the first five thumbnails) and for each image a picture post will be generated. The thumbnails have links to the picture posts and the pictures have links to the full resolution images.
  4. Titles for the picture posts are either set to the JPEG comment or to the image filename.
  5. Captions under the thumbnails are set to the corresponding picture post titles and follow updates being made to the titles.
  6. When updating a post, any new images in the image directory are merged with the existing post and the thumbnails are replaced by the new set. This is the way to include new pictures after these have been added to the image directory. Edits to posts between the PictPress comment tags are lost; other edits are kept.
  7. Picture posts are suppressed from the post overview pages and in principle should only appear on pages of their own.
Configuration There are a number of options that can be confgured via the PictPress options form that can be reached from the WordPress options pages. The strings used for title etc. can contain the following variables: Template Functions The following template functions can be used in index.php (I put them at the top of the menu section myself):