Archive for the ‘Lazy-K Gallery’ Category

WordPress 2.1 compatible

Thursday, January 25th, 2007

I haven’t had a lot of time to work on the plugin lately, but I’m not giving up on it. I have a few projects around the house to finish up but I’ll get back to work on the plugin when I can.

I just wanted to post to let everyone know that Lazy-K Gallery seems to be compatible with WordPress 2.1. I’ve done some testing on two sites, and everything is working fine for me. If you come up with any problems related to the upgrade, be sure to let me know.

Version 1.4 – sorting options and bug fixes

Tuesday, November 28th, 2006

Well, I’ve been trying to make time to get this version out for the past several weeks, but it’s the busy time of year.

Tonight I’m releasing version 1.4, which adds the ability to sort your thumbnails and subfolders either by name or modified date.
I also fixed an issue in the cache manager with photos in the root of the gallery, changed the cache manager to delete slide and thumbnail folders (not just their contents) and fixed an issue with comment number reporting.

There were quite a few code changes, basically some cleanup and bug fixes, and I decided to go ahead and release this version now. There’s getting to be quite a lot of testing that needs to be done to release a new version, but I didn’t have an awful lot of time to test this release. I am also working on putting together a public document listing all the testing required for this plugin in order to formalize the process and also allow others to test on their sites if they’d like to.

One note about the sorting, for now I’m just using the server’s “modified time” for date sorting, and I’m requiring the gallery administrator to specify the sort order on the options page. I had a number of requests for date sorting, but this is just my first attempt. I’ll add more features later, like using the create date and the EXIF date read from inside the file and allowing the website visitor to choose their sorting on the fly, but I wanted to get some feedback on this setup first.

Visit the Lazy-K Gallery page to download this version.

Version 1.3.7 released, adding “subgalleries”

Tuesday, October 17th, 2006

Tonight I’m releasing version 1.3.7, which adds a feature I’m calling “subgalleries”. Using subgalleries, you can include multiple galleries on your site, or just include a portion of your gallery in a post or page. See the next post for an example and some more information. Also see the Example Subgallery page.

Visit the Lazy-K Gallery page to download this version.

Example Post with a Subgallery

Tuesday, October 17th, 2006

This post includes what I call a “subgallery”. Basically, it’s just a subset of my full gallery, starting at a given directory. This subgallery starts in the “Animals” directory of my gallery.

Notice there’s no way to navigate higher in the gallery than the “Animals” folder. Also, I can put this subgallery in a page. Using this feature, you can effectively have multiple galleries on one site, or show just a subset of your full gallery (perhaps just the latest folder you uploaded, etc.)

To include this subgallery, I put the following tag in my post:

Version 1.3.6

Saturday, October 14th, 2006

I’ve put version 1.3.6 online. Nothing terribly exciting in this release thought I’ve squashed a few bugs. You can grab it from the Lazy-K Gallery page.

If you’re using PHP safe

mode or some of the restrictions like open_basedir, this release should fix some problems. There were also problems with non-JPG image files. Let me know if you have any problems.

Version 1.3.5

Wednesday, October 11th, 2006

I have a new release ready to go. For version 1.3.5, I’ve added the ability to specify what folder your slides and thumbnails reside in, in case you want to change that. The big change is the ability to create your gallery page automatically (thanks to Mike for the idea). There’s a button on the options page that can create your gallery page for you.

Visit the Lazy-K Gallery page to download the latest version. As always, let me know what you think.

Version 1.3.4 – Improved Lightbox and Thickbox support

Friday, September 22nd, 2006

Ok, I’ve got some new changes to share. First of all, the boring stuff. I put in some code to remove the extra paragraph tags that WordPress adds, so the gallery page should now validate as XHTML! I also added the ability to remove underscores in filenames.

The big thing I added is support for the Thickbox image viewer and a number of new ways to use Lightbox. See the FAQ page to see where to download these add-ons from. After you download and set up the one you want, visit the Lazy-K Gallery options page. You’ll notice that there are two new combo boxes in the Advanced Options section. There are a lot of options, so give them a try to see what you like. Of course, you can always just leave them alone and not use an external image-viewer. Here are the navigation options:

When the user clicks on a thumbnail…

  • show the regular slide page
  • show the full-size image in a new window
  • don’t do anything
  • show the slide using Lightbox
  • show the whole series of slides using Lightbox
  • show the full-size image using Lightbox
  • show the whole series of full-size images using Lightbox
  • show the slide using Thickbox
  • show the full-size image using Thickbox

When the user clicks on a slide…

  • show the full-size image in a new window
  • don’t do anything
  • show the full-size image using Lightbox
  • show the full-size image using Thickbox

Download the latest version of Lazy-K Gallery and let me know what you think. There are a lot of choices for the image-viewing add-ons, so let me know if you come up with any problems.

What Lightbox/Thickbox plugins do you use?

Tuesday, September 19th, 2006

I’ve been trying to improve Lazy-K Gallery’s support for different image-viewing plugins like Lightbox and Thickbox. There seem to be a plethora of downloads around calling themselves lightbox and thickbox, so it’s been a little frustrating. On top of the true “plugin” versions of these scripts there are also the original Javascript snippets you can include.

My goal is to support these scripts from both the thumbnail and slide views. You’ll have the option to click on the slide to view the full-size image in either plugin, or click on a thumbnail to view the full-size image in one of those plugins. Likewise, I’m providing the ability to click on a thumbnail and let lightbox or thickbox display the whole set of images.

So, before I spend too much time working through all the little quirks associated with each possibility, I’d like to conduct a little poll. What image viewing script do you like to use? Please comment with the name of the script and where it can be found.


Version 1.3.3 bug fixes released

Friday, September 8th, 2006

I had a couple of errors to fix, so I’m releasing version 1.3.3. I improved the cache manager’s logging and error handling, and fixed a problem with sorting the slides (the next and prev links weren’t correct in some cases).

You can download the latest version from the Lazy-K Gallery page.

Version 1.3.2 available

Thursday, September 7th, 2006

Hey all-

I found a little bit of time to work on the plugin tonight, so I fixed a couple of little bugs and added the option to use cropped square thumbnails. In other words, if you have a 800×600 image and you want cropped square thumbnails, the plugin will crop 100 pixels off the left and right before creating the thumbnail. Some folks prefer that look, and I’m using in the example gallery.

Give it a shot if you’d like. You can download from the Lazy-K Gallery page. If you enable the square thumbnails option, don’t forget to visit the cache manager to rebuild your thumbnails, just like you’d have to do any time you change the size of your thumbnails or slides. Let me know if you find any problems or have further suggestions!