Wordpress Picasa XML Gallery Plugin (updated version with Lightbox2 support)
A while back I started using v0.95 of the WordPress Picasa Viewer plugin by Dieter Leibold for this blog. However, the plugin had a couple of issues which I fixed. I tried contacting Dieter in order to publish the updated version on his site. Unfortunately, I did not receive any reply so far.
Therefore, I publish an updated version of the Wordpress Picasa XML Gallery Plugin with the following new features and bugfixes:
Download (..and put into /wp-content/plugins/)
- Download WordPress Picasa XML Gallery v0.97a (latest version)
fixes smileys being escaped in the article's content, adds support for Lightbox2 (use the WP lightbox 2 plugin for WP), accepts malformed XML if an ampersand (&) is used in the path of the original image (bug in Picasa export), removed debug messages, minor fixes and optimizations
(view formatted PHP code)
Installation
Please refer to the instructions taken from the original plugin site.
- Copy WP-Picasa-Viewer.php
(and view.php)to /wp-content/plugins - Activate the plugin using the admin interface
- Create /wp-content/galleries/ and make sure it is readable by your web server (chmod 755, public read and execute permission)
- Export a Picasa gallery using the XML template — Select the images you want and use the Folder->Export as Web Page menu item, but you can also right-click on a folder name in the folder view and choose “Make a Web Page”.
- Upload the entire exported gallery directory to /wp-content/galleries/GalleryName/
- Create a new post, or modify an existing one and add
{ gallery [GalleryName] }somewhere in it. (
GalleryNameis the name of the directory that you uploaded in the previous step)
Demo
See the latest version of script in action together with the Lightbox2 plugin on any of my photo posts. Here is a sample gallery of my trip to Ayers Rock, Australia: