A teddy bear with an RSS lolly

SUBSCRIBE TO FEEDS

If you like the content here, why not get it delivered to your reader?

GET RSS FEED


Wordpress Plugin: Zenphoto.

Revised: May 16, 2007

It’s been quite a while since I last updated this plugin and zenphoto sure has come a long way since its humble roots all those years ago. Fortunately thanks to its updated core files I can proudly announce the new zenphoto to wordpress plugin which is tested to work under wordpress version 2.3.x and zenphoto version 1.1.5.

Setup & Configuration

Before you upload the plugin file you need to first edit some of its settings. Namely $zen_thumb_size to being the size you wish your thumbnail to be and $zen_location pointing to the exact url of your zenphoto instillation. Once these settings are set upload the zenphoto.php file into your wordpress plugin folder and enable it in the admin panel. Please Note: The zenphoto tables must be in the same mysql database as the wordpress tables otherwise the plugin has no access to them.

Usage

To include the thumbnails in your template use the following syntax ($max replaced by the total number of thumbnails you require):

<?php zenphotos($max); ?>

Demo

Just look at the bottom of this page in the photography box.

F.A.Q

  1. How can I change the thumbnail sizes?
    Change the configuration setting within the plugin file labeled $zen_thumb_size
  2. It looks a bit basic, what new features will you be adding?
    Well right now it’s just the one tool, being able to show the latest how ever many you choose thumbs from your Zenphoto gallery. I shall be adding other tools which I feel will be beneficial for myself and others such as random image return, incorporation of it with a flash

If you have any other questions please get in touch via my contact page.

Versions / Changelog

  • 1.2 – First version of plugin, released early 2007 compatible with earlier versions of zen photo.
  • 1.4 – Second version of plugin, released 19th August 2007 to fix a bug brought about by a new database structure used with version 1.0.8 of zenphoto.
  • 1.8 – After a few emails from users I updated the plugin to work with the latest version of zenphoto and to add a little more functionality into it. This release is in anticipation to version two which will contain an admin panel allowing the user to have more say over the viewing of thumbnails other than just cropped squares to a certain size.

Download