Get Picasa Albums
Download
About
Get Picasa Albums will take a given Picasa username and fetch a listing of all public albums for the given user. Thumbnails to the individual albums will be displayed in a table on the specified WordPress page. Each thumbnail is a link to the actual Picasa album hosted by Google. The user can specify the number of columns to display, so that the resulting table matches the width on the webpage. The user may also specify if random thumnails are used instead of the Picasa thumbs already specified.
If random thumnails are used, a local cache file for each Picasa album will be stored in a sub-folder of the plugin. The cache files are updated if the timestamp on an album changes. If the current stamp matches an existing file, the existing file will be used to fetch a random thumbnail.
Note: PHP5 or higher is required
To see the code in action, check out my pictures page.
Usage
In a WordPress page or blog entry (remove the “” from around “GetPicasaAlbums”):
| ["GetPicasaAlbums" user="username" col="x" random="y/n"] | |
| username: | Picasa username (required) |
| col: | Number of columns to display (not required; default=2) |
| random: | Random thumbnails (not required; default=y) |
Version History
v1.0.2 - 19 November 2008 - Fixed issue with hard-coded cache directory, check for PHP5
v1.0.1 - 16 November 2008 - Fixed issue where plugin was looking in wrong directory for cache files
v1.0.0 - 15 November 2008 - Original release
Donate
Some people ask what they can do to help. There are two things:
- Link to this page
- Donate Now!
While I would never expect anyone to pay me for using this software, I also would never refuse payment
If you use this software and would like to donate, please feel free to do so through the PayPal link above.
Credits
Helper code was found/used/modified from here:
http://www.ibm.com/developerworks/library/x-picasalbum/
http://code.google.com/apis/picasaweb/developers_guide_protocol.html

November 15th, 2008 at 7:53 pm
Hi,
The thumbnails dont work for me:
http://img293.imageshack.us/img293/5108/semttulomd8.png
November 15th, 2008 at 9:52 pm
The thumbnails are not showing for me. wp - 2.7b3; The names of the albums are listed, just no thumbnails.
November 15th, 2008 at 10:47 pm
hi. Thanks for plugin
perfect.
Regards
November 15th, 2008 at 11:22 pm
I have updated the zip file posted above…the PicasaAlbumCache directory did not have valid read/write access for creating the album cache files. Hopefully this will help.
November 16th, 2008 at 8:03 am
Thank you for all your help!
Is there a way to center the columns?
November 16th, 2008 at 3:39 pm
I de-activated,deletd plugin from server;downloaded most recent zip, extracted; uploaded to plugin folder; activated; created page with
[GetPicasaAlbums user="myalbumusername"]
but still no images. I checked folder folder permissions: - even at 777 can’t get any thumbs.
php 5; wp - 2.7b3; The names of the albums are listed, just no thumbnails.
November 16th, 2008 at 9:14 pm
Thanks for marvelous support - I needed to specify all the options on the page.
November 16th, 2008 at 11:25 pm
Thanks to all that have downloaded this plugin so far…unfortunately I did find a bug that was causing issues with the thumbnail generation…I have since “released” version 1.0.1 of Get Picasa Albums. I hope I have more success with the new version!!!
November 17th, 2008 at 7:28 pm
Fatal error: Call to undefined function simplexml_load_file() in /mail_data/admin/supergary/public_html/wp/wp-content/plugins/get-picasa-albums/GetPicasaAlbums.php on line 93
November 18th, 2008 at 8:54 pm
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/rockba2/public_html/dev/wohelo/wp-content/plugins/get-picasa-albums/GetPicasaAlbums.php on line 150
November 20th, 2008 at 9:50 am
Hi,
My album descriptions are not right spaced. Just check:
http://img227.imageshack.us/img227/4035/getpicasauw1.png
November 20th, 2008 at 11:04 am
I get an error when trying to activate, Parse error: syntax error, unexpected T_OBJECT_OPERATOR in ……/wp-content/plugins/get-picasa-albums/GetPicasaAlbums.php on line 160
I’m using 1.02
the offending line is $thumbToUse = $thumbnail->attributes()->{’url’};
November 22nd, 2008 at 12:43 pm
This error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR
can be a result in trying to activate the plugin using PHP4.
November 22nd, 2008 at 12:45 pm
The people that are having trouble with the album titles being centered under the thumbnails should consider looking at their CSS, or other HTML code surrounding the table.
November 23rd, 2008 at 7:21 am
[...] Get Picasa Albums [...]
November 23rd, 2008 at 10:43 am
[...] Get Picasa Albums [...]
November 23rd, 2008 at 10:43 am
[...] Get Picasa Albums [...]
December 16th, 2008 at 11:29 am
Thanks. I am using this plugin in my own blog.
December 22nd, 2008 at 5:50 pm
Sorry I might be stupid.
Howw can i include an album in a post?
I go to pages and then insert [GetPicasaAlbums user="myname"] in the visual field and hit update page, that doesnt work. I’m a geek at this your help is appriciated
January 3rd, 2009 at 3:01 pm
Great plug-in but I am having trouble making it work. If you can help, here is the error: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /hsphere/local/home/gordoc28/cimoli.com/wp/wp-content/plugins/get-picasa-albums/GetPicasaAlbums.php on line 160
Any idea?