Version 1.1.1 released with Lightbox JS support

April 24th, 2006

I put out a new version of Lazy-K Gallery to add basic support for the Lightbox JS script. If you have Lightbox JS installed, you can set an option on the Lazy-K Gallery options page to use Lightbox JS for displaying the full-size images (after you click on a slide). If you don’t set that option, the full-size images are shown in a separate window as they did before. Thanks to Scott McDaniel for the assist.

Version 1.1 released with per-picture commenting

April 20th, 2006

I’m ready to release version 1.1 as a beta. I’m excited to share the ability to leave comments on each folder or picture in the gallery. Visit my Lazy-K Gallery page to download the latest version.

Please note that you’ll have to make a small change to your comments template in order to get per-picture commenting to work. It’s pretty simple though, and is detailed on the Lazy-K Gallery page and in the readme file.

Got per-picture comments working!

April 19th, 2006

After a few days of pulling my hair out trying to find the hooks I needed in WordPress, I’ve got the per-picture commenting working now. Take a look at my example gallery, see how it works, try it out, and let me know what you think. I’m not quite ready to release the code just yet, since I need to do some more testing. If you’re interested in trying out my changes and being a “beta tester” (not that any of my users HAVEN’T been beta testers yet :), leave a comment here.

As it turns out, there’s no pure plugin solution to the comment filtering problem in my previous entry, so I had to add a single line to my comments template. It’s pretty easy to do though. I’ve put in an enhancement request to WordPress to include a hook so the template change wouldn’t be needed.

Oh yeah, if you leave a comment in my gallery, keep in mind that I’m moderating all comments, so if you haven’t commented here before don’t be surprised if you don’t see your comment right away…

Working on per-picture comments…

April 16th, 2006

By popular demand, I’m working on adding the ability to leave comments on a per-picture basis in Lazy-K Gallery. I have an idea on how to do it, but I’m still missing one piece of the puzzle. I haven’t spent an awful lot of time researching yet, but if someone knows the answer it would speed along my progress.

What I’m looking for is a WordPress API filter or action that would allow me to control which comments get displayed on a given WordPress page. In other words, suppose there are ten comments on a given page- I want to only display the ones that meet some criteria. I tried the “comment_text” filter, but that only let me control the actual text of the comment. The comment author, date, etc. cannot be modified. Perhaps “preprocess_comment” is what I’m looking for, but I haven’t found any good documentation on it just yet.

At any rate, I’ll keep working on the comments and hope to release a beta before too long if I can solve this problem.

Lazy-K Gallery version 1.0.4 released

March 30th, 2006

I made a few more refinements to the Lazy-K Gallery and have released it as version 1.0.4. Here are the changes:

  • Added ability for user to specify folders and files to exclude
  • Admin page cleanup, including reporting the installed version
  • Added confirmation messages on admin page
  • Added functionality for migrating options from older versions

I’ll tackle some more big items when I have more time, but these few little tweaks should make the gallery work better for most people.

Version 1.0.3 released

March 29th, 2006

I found a little bit of time to work on the Lazy-K Gallery tonight and did a little cleanup. I’d recommend this upgrade for any users of 1.0.2. There were some embarassing mistakes that were corrected in this version.

If you’re upgrading, make sure visit the options page. I changed the way the gallery paths are determined, so you should make sure your path is ok still. Also, to correct some configuration problems introduced earlier, click the “restore defaults” button. You’ll have to re-enter your gallery path after restoring defaults.

  • Changed the way the gallery path is determined again
  • Added the ability to restore default settings
  • Corrected Firefox “next” and “prev” button rendering
  • Added display of the actual directories being used on the admin page
  • Initial support for ignoring files. This version ignores files with the string “thumbnail” by default.

Another day, another release

March 24th, 2006

I’ve been fortunate to have a couple of folks helping me work out some issues with Lazy-K Gallery. After a few reports of server configuration issues on different hosts, I changed the way paths are generated. I’m not relying on server variables any more. Hopefully folks will have better luck with the new version.

Lazy-K Gallery version 1.0.1 ready

March 23rd, 2006

Based on some early feedback on Lazy-K Gallery I quickly made some changes to version 1.0. Will pointed out that my gallery’s output didn’t pass XHTML Transitional (man, I can’t believe I didn’t check that…) and that I neglected to say that you need to CHMOD your images directory to 755. My host was doing that for me automatically.

I made a quick change to the output HTML in order to write out proper IMG elements. The gallery still doesn’t pass XHTML Transitional however, because WordPress’s wpautop function automatically wraps each paragraph in your page with paragraph tags. I use DIV tags in the gallery HTML, so it doesn’t pass validation since you can’t have a div inside a paragraph.

I see a few possible solutions. One it to make the gallery be the only thing on the page (deleting any other content on the page). Another is to disable the wpautop function for the gallery page or have the gallery remove its surrounding paragraph tags. Yet another would be to take the DIV’s out of the gallery HTML, but I need to be able to use SOME block level element. I want to retain the flexibility of allowing the gallery as just a portion of the page, so I’ve got some experimenting to do.

Lazy-K Gallery version 1.0 ready for release!

March 9th, 2006

The Lazy-K Gallery is a WordPress plugin that tries to make creating a photo gallery on a website as easy as possible. Version 1.0 is ready for release! Visit the Lazy-K Gallery page for more information and to give it a try! Visit the example page for an example of Lazy-K Gallery in action.

I’ve tested this plugin pretty thoroughly with my web host, but I don’t have any other hosts available to me to try it on. As such, I’d appreciate your comments if you’re successful or if you have problems.

Comments for the post are closed. Please leave any comments on the Lazy-K Gallery page or you can send me an email from the contact page.