KB Plugins

The best Wordpress plugins are free

Print this post

Announcing KB Easy PicasaWeb

Announcing KB Easy PicasaWeb, a new plugin for WordPress and WPMU, the simplest way to display a Picasa album inside a page or post. Just put a link to your album in a post; this plugin does the rest.

There are many PicasaWeb plugins for WordPress; I counted 8 of them before writing this plugin, and tried using several. So why use this one? Unfortunately, most of the other plugins are annoying. Either they have poor documentation, or they require you to insert funny things into your posts, or they are slow, or whatever.

Why use this plugin?

KB Easy PicasaWeb is the easiest, fastest, most visitor-friendly Picasa plugin for WordPress.

  • Easiest: This plugin does not require you to insert funny markup into your posts–all you need is a link to a PicasaWeb album, and the plugin does the rest.
  • Fastest: The plugin uses efficient caching to keep your blog’s pageloads quick.
  • Most visitor friendly: The plugin uses PHP, not JavaScript, so it won’t cause errors or annoying movement when loading. (If you’ve used JS-based PicasaWeb plugins, you’ll know what I mean.)

How it Works

I wrote KB Easy PicasaWeb so that there would be an easy, fast way to embed PicasaWeb albums into pages and posts. This is all you do:

  • Download and activate the plugin.
  • Write a post (or edit an old one). Somewhere within it, create a link to a PicasaWeb album (on a line by itself).
  • Done. This plugin finds your link, recognizes it as a PicasaWeb link, and converts it into a nicely-formatted series of photos (with captions).

Want the photos to be larger or smaller? No problem–just go to Options->KB Picasa and change the size.

Why it’s Quick

The first time you view a post with photos in it, you’ll notice a short delay (less than 5 seconds, typically) while the plugin pings PicasaWeb to request the album information. But unlike many other PicasaWeb plugins, the delay occurs only once–the results get cached locally by the plugin for future use.

What you need

  • Any version of WP from 2.0 through the current development version (2.4), or WP-MU
  • A Google PicasaWeb account with photos in it

Screenshots

Here’s a shot of the options page (click to enlarge):

KB Easy PicasaWeb (admin screen)

Here’s a shot with image size set to 160 pixels. The text under each photo is the caption that I typed at PicasaWeb (click to enlarge):

KB Easy PicasaWeb (160px screen)

Same idea, but with image size set to 400 pixels (click to enlarge):

KB Easy PicasaWeb (400px screen)

Demo

Want to see it in action? Look at photos of Hyrum (or the photos category on my off-topic blog).

Download it

Here it is: KB Easy PicasaWeb

15 comments »

1
Hershbad thinks
at 6:19 pm on January 31, 2008 #

Hey, thanks for the plug-in, looks like it is just what I’m looking for. However, after activating it when I go to my Options page and select it there is a message that says, “Sorry, but you do not have a recent enough version of PHP to use this plugin.” I checked the PHP settings on my website and it indicates that I’m using 5.2.4.

Any ideas?

thanks

2
Thus saith Adam
at 9:34 am on February 1, 2008 #

Try the v1.1 of the plugin. I just uploaded it in response to your comment.

I was using the domdocument and domxpath classes, which I thought were a standard part of PHP 5, but apparently they are not. I have replaced them with regular expressions. As such, the plugin should now work all the way back to PHP 4.

3
Mario proclaims
at 11:20 am on February 3, 2008 #

Hi, really nice plugin! Just the one that I was looking for :)
Do you think you could add an option for a nicer layouot - ie. display the (smaller) thumbnails in two or three columns?

4
Jo contributes
at 5:30 pm on February 3, 2008 #

Adam, Your plugin is perfect for one of my client’s who uploads lots of photos to a weekly blog post. They can upload quickly, add captions easily and the automatic sizing is neat and tidy. However, they need to diplay at least 2 if not 3 images beside each other or it will talk forever to scroll down and see them all.
Is there a way to do this using your plugin?

5
Thus saith Adam
at 11:50 am on February 4, 2008 #

Sounds like you are both asking the same question. You might be able to accomplish that just by tinkering with the CSS that the plugin outputs. Next time I update it, I’ll try to remember to add an option for columns. I don’t know when i’ll have time to work on it next, though.

6
aronil comments
at 6:24 am on February 7, 2008 #

HI again.. i tried it again with all the rules followed… but i still can’t get it to pop up with images on my blog.. hmmm

7
aronil remarks
at 6:32 am on February 7, 2008 #

oooooh okies fixed the problem :) thanks for the wonderful plugin

8
Thus saith Adam
at 9:20 am on February 7, 2008 #

Glad you got it working. Anything you figured out that I should add to the FAQ?

9
aronil comments
at 10:37 am on February 7, 2008 #

hmmmmm nothing in particular actually…. because I didn’t realise that links with the first letter caps also matters. Totally love your plugin and recommending it out hehe

10
Thus saith Adam
at 9:57 am on February 14, 2008 #

Mario and Jo,

Try version 1.2.

11
Jo exclaims
at 1:29 am on February 24, 2008 #

Have just tried version 1.2 as suggested.
Brilliant. The 2 column layout looks much better and the captions are still nicely in place so thank you.

12
Herb opines
at 4:22 am on March 22, 2008 #

Reckon you could tell me why it won’t work on my site? I’ve followed instructions as close as I know how.

Thanks.

13
Thus saith Adam
at 2:14 pm on March 25, 2008 #

Herb, you’ll need to be way more specific. Otherwise, all I can suggest is that you look at the faq.

14
David proclaims
at 8:51 pm on March 29, 2008 #

Hello,
I’m trying this plugin and finding it less easy than I anticipated. So I’ve posed some questions to clarify a few things.

When you describe a clickable link, do you mean it has to be an anchor tag? (e.g. <a href></a>)

(Other tags might include IMG, IFRAME, OBJECT.)

Does it also have to have text between the open and close tags? (e.g. <a href>text here</a>

Can the link be put anywhere (e.g. a sidebar, a widget, etc) or only in a page/post?

I haven’t played with it enough to have found answers to any of these questions yet.

15
Thus saith Adam
at 4:11 pm on March 31, 2008 #

David, please read the instructions. If you’re still confused, check the FAQ.

Leave a comment

Comment Guidelines
  • Yes, your comments will be visible to everybody. (Unless you use the private contact form.)
  • Allowed HTML: <a> <b> <blockquote> <cite> <code> <em> <i> <strong>
  • Code: Put code in `backticks` (above your "Tab" key) or it won't display well
  • Gravatars: To override the default image by your comment, use a gravatar
  • Links: If you include more than one link, your comment will go into the spam queue

Please read before commenting: Because my real job has me swamped at the moment, I am not supporting my plugins at this time. Sorry. This may last several weeks.

If you have a bug report, feature request, or other general feedback about a plugin, please leave a comment—but do not expect an immediate response. If you are requesting help, though, please check the plugin's documentation thoroughly rather than ask your question as a comment.

Thank you for your understanding.