PictPress 0.9
Update: The newest version is PictPress 1.0.
PictPress is a wordpress plugin that automatically appends thumbnails and picture pages to a post for all images found in the directory corresponding to the permalink of the post. Thumbnails and pictures are resized on the fly and stored in a cache directory. For an example see my post with Vermeer paintings.
Requirements
- PictPress needs the ImageMagick
convertprogram to resize images. - PictPress needs the
rdjpgcomprogram to read comments from the images. - The function
exif_read_datamust be available to read EXIF data like picture date etc. - WordPress must have a permalink structure enabled.
Installation
- Unzip
pictpress.zipin the root directory of your site. This creates apictpressdirectory next yourwordpressdirectory. - Move, copy or link the file
pictpress/pictpress.phpto the WordPress plugin directory, e.g. on a Unix system
ln pictpress/pictpress.php wordpress/wp-content/plugins. - Enable the PictPress plugin on the Plugins admin page.
- Insert a line
@import url( /pictpress/pictpress.css );after the import for the WordPress style sheet in yourindex.php. - Insert a line
RewriteRule ^cache/([0-9]+)/(.*) /pictpress/resize.php?size=$1&path=$2 [QSA]in your.htaccessfile.
Configuration
-
TODO
Usage
- First upload one or more JPEG images to the permalink directory you want to use
(I useYYYY/MM/post-namemyself). - Then create a new post that will have this permalink.
- 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 page will be appended to the post. The thumbnails have links to the picture pages and the pictures have links to the full resolution image. - If you want to edit the post, you have to delete the generated content before pressing Publish again.