WordPress Album Viewer Plugin

My baby daughter is beautiful. And I needed a way to show her off that was simple to use, easy for friends and family to navigate, and I wanted to keep the pictures on her blog. I didn’t want to host them on a file-sharing site because I wanted to keep the pictures out of the general web (with my daughter’s own blog, I’ve used the meta tags to tell the search engines not to spider it), and at the same time, I didn’t want to have to password-protect them from friends and family. And besides, I don’t want my visitors having to click away to an external site.

Anyway, there were already a few wordpress plugins that can help to host a gallery of images, but I had a pretty clear vision of what I wanted, and rather than trying to get someone else’s plugin to do what I wanted, I decided to write my own.

It’s worth pointing out that I didn’t originally expect this to be anything more than a useful tool for myself, but as I learned more about wordpress, I realized that I could easily turn my code into a full-fledged plugin that anyone could use.

Anyway, the plugin can now be downloaded by any and all through sourceforge.net. The link is http://sourceforge.net/projects/wp-album-plugin/

To see it in action, and check out pictures of me, my wife, my daughter, family, friends, and random people standing in the backgrounds, go to http://honorwolf.com. Click on any of the thumbnail links on the left-hand side of the screen.

This is probably the project I had the most fun working on. Even though nobody was paying me to write it, I had a great sense of satisfaction from taking my own vision and making something uniquely mine. And I’m always happy with the result every time I look at it. I create new albums from right inside the wordpress administration area, edit them there if necessary, and with hardly any effort at all I’ve managed to get my parents to stop complaining that they never see any pictures of their only granddaughter.

Creating a new album – step 1

creating a new album - step 1

Creating a new album – step 2

creating a new album - step 2

Selecting an album to edit

selecting an album to edit

[UPDATE 9-27-07: I’ve made Album Viewer version 1.1 available on Sourceforge.net. This marks a significant improvement over the previous version. The plugin has now been “widgetized”, allowing people to share their albums in the sidebar more easily. In addition, it now automatically detects whether users have ImageMagick available on their web hosts, and will default to that for thumbnail creation if they do. Thus, for many users, they are no longer limited to only sharing photos under 1 million pixels.]

August 30 2007 01:04 am | open-source

2 Responses to “WordPress Album Viewer Plugin”

  1. thecalum on 21 Jan 2008 at 8:19 pm #

    Hey Buddy,

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/thecalum/public_html/wp-content/plugins/aviewer/gallery_admin.php on line 30

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/thecalum/public_html/wp-content/plugins/aviewer/gallery_admin.php on line 33

    I keep on getting that error when I try to use this plugin – any ideas? I’d really like it to work!

    Cheers.

  2. angus on 31 Jan 2008 at 2:05 pm #

    Hey Buddy,

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/thecalum/public_html/wp-content/plugins/aviewer/gallery_admin.php on line 30

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/thecalum/public_html/wp-content/plugins/aviewer/gallery_admin.php on line 33

    I keep on getting that error when I try to use this plugin – any ideas? I’d really like it to work!

    Cheers.

    ======================================================
    absolutely, I have the same problem