Archive for the 'WordPress' Category

PictPress Thumbs

Thursday, January 3rd, 2008

PictPress Thumbs is a WordPress plugin for dynamically resizing images, maintaining a cache of resized images separate from the images themselves. It is part of the new PictPress implementation. Read the rest of this entry »

PictPress - progress report

Thursday, January 3rd, 2008

I am working on a complete rewrite of my PictPress plugin for WordPress. PictPress is intended for a way of working where you upload images to your website outside the WordPress admin user interface, e.g. via ftp, shared directories, etc. PictPress offers an easy way of including these images in a new post. Read the rest of this entry »

PictPress 0.91 vulnerability

Friday, December 7th, 2007

It just came to my attention that PictPress 0.91 has a vulnerability for website attacks caused by an unvalidated argument to the resize.php script. As far as I know this vulnerability has been fixed from version 0.99 upwards. All users of the older version should upgrade or remove the plugin from their website.

If there are still vulnerabilities in the newer versions, please let me know.

WordPress Plugins

Monday, March 19th, 2007

List of useful WordPress plugins.
Read the rest of this entry »

WordPress 2.1

Monday, January 29th, 2007

WordPress 2.1 is out, but I am not impressed.

  1. The preg_match that is used to find the <!–more–> tag eats up content up to the end of a next comment tag. This breaks PictPress which is using comment tags to mark auto-generated content.
  2. For me the upload function does not seem to work. I can upload images, I can create thumbnails and insert them in the post, but when I switch between the Upload and the Browse tab, I do not see my images anymore. The error message is also not very helpful, it speaks of attachments instead of files or images.

For the rest PictPress still seems to work, but any plans for better integration will have to wait until I see a better quality new version WordPress.

Update (12-feb-2007): The preg_match problem has been fixed in WordPress svn (changeset 4821 and 4822).

The disappearance of images was due to the PictPress posts_where filter. This has been fixed in the PictPress svn trunk version.

PictPress 1.0

Friday, December 9th, 2005

Update (3-jan-2008): I am working on a major rewrite of PictPress that makes it better integrate with the WordPress attachment functionality. This will take some time however.

I finally got around to bumping the version number to 1.0 final, fully supporting WordPress 1.5, just before the release of WordPress 2.0 :-)

PictPress is a WordPress 1.2/1.5 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.

Changes since version 0.99

  • Resize does not enlarge images.
  • Options added for sort order.
  • Option added for adding a category to picture posts.
  • Option added for using either picture time or main post time for picture posts.
  • Template function added for printing post modified time (not really PictPress related, but too small for separate plugin).
  • Content filter added for adding thumbnails to other posts.
  • Filter added to add parent title to picture post title.
  • Add page to edit subtitles.
  • Add silent option for omitting debugging comments in posts.
  • Add resize functionality for different aspect ratios, e.g. thumbnails can be square now.
  • Add template functions for generating archives by date and archves by category.
  • Add options page.

Read the rest of this entry »

Awstats plugin

Tuesday, April 5th, 2005

This is a simple plugin that retrieves information from Awstats log files, currently only popular pages, search phrases, referrers and browser statistics. It provides template functions for including this information on your WordPress site.
Read the rest of this entry »

New version of PictPress

Tuesday, September 14th, 2004

I have prepared a new release of PictPress. A lot has been rewritten, what has stayed the same is the basic approach, automatic generation of posts from a directory of images. A major change is that I now focus on creating a post per image instead of appending one page per image to a single post. A master post contains thumbnails that point to the various picture posts. The old functionality is still there but will not be further developed by me. Read the rest of this entry »

PictPress 0.99

Tuesday, September 14th, 2004

Update: The newest version is PictPress 1.0.

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.
Read the rest of this entry »

Simple editing of plugin options in WortdPress

Saturday, September 11th, 2004

WordPress 1.2 has a simple built-in mechanism to generate an edit form with all options from one particular group. Unfortunately this has been removed in the CVS version. I hope that something similar will still be possible in the final 1.3 version… Read the rest of this entry »

PictPress 0.91

Friday, May 28th, 2004

Update: The newest version is PictPress 1.0.

Important: This version does not properly check the size argument to the resize.php script and is vulnerable to website attacks. Please update to later versions.

PictPress is a wordpress 1.2 plugin that automatically appends thumbnails and picture pages to a post for all images found in a directory associated with 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.
Read the rest of this entry »

PictPress - planned extensions and wishlist

Saturday, May 15th, 2004

These are my planned extensions for PictPress:

  • Template functions that generate a prev/next thumbnail for picture pages.
  • Merging of new images in a picture directory with the previously generated content.
  • Optionally setting post-date to date of first picture.
  • Improving the CSS.
  • Add print CSS.
  • Integrating with WP2PDF.
  • I would like something like subtitles for the picture pages that are used as caption for the thumbnails.
  • Optionally add info from EXIF headers.
  • Moving image directory to arbitrary path instead of permalink.
  • Generate separate posts per image (in hidden category) instead of separate pages.
  • Make configuration options page.
  • Make rdjpgcom optional.
  • Make rewrite rule optional.
  • Add configuration variables for pictpress and cache directory.
  • Add option to prevent linking to full size image.
  • Make cache dir more flexible.
  • Make PictPress compatible with 1.3 version of WordPress.
  • Provide mass editing mode for picture post titles.

PictPress 0.9

Friday, May 14th, 2004

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.
Read the rest of this entry »