Picasa Albums plugin 0.1

This is a simple plugin that I use for displaying photos from my Picasa Web Albums. It’s very crude at the moment. You can configure it from the Picasa Albums panel found under Options.

Just insert the following tag into your content: <!--picasa-albums-->

You’ll need to install the wp-lightbox2 plugin.

Download Picasa Albums 0.1

28 Responses to “Picasa Albums plugin 0.1”


  1. 1 Matt Kelly

    Thanks, this is what I’ve been looking for…

  2. 2 Esmi

    Great!!!

    Steve, you’re the best!!!!

  3. 3 Calvin

    Thanks, Steve its a great plugin.

    But is it possible to have portrait photos displayed or aligned properly with other landscape photos?

    Thanks,
    Calvin.

  4. 4 C!

    Well done Steveo, I’ll keep an eye on you plugin…

  5. 5 Eric

    This is the perfect plugin. I’ve been waiting for something to easily allow me to upload photo albums and this is the first one that’s made the cut. Keep up the great work!

  6. 6 Gurdip

    Hi Steve.

    I recently started to use K2 as my blog’s theme as i find it very attractive. However, upon visiting ur site today, I have to say that your current theme “trueblue” is even more attractive. I have downloaded the theme however, I have no idea how it should be installed. Am I supposed to embed it within the K2 theme for me to use it? What should I do to make it work.

    I hope to hear from you soon. Thanks Steve.

    kind regards,
    Gurdip.

  7. 7 steveo

    Gurdip: Thanks for using K2. True Blue is basically a style for K2. To install it, copy the trueblue folder into k2/styles. You can activate the style by going into K2 Options and selecting trueblue/trueblue.css from the Custom Scheme section.

  8. 8 Rob Kistner

    *HELP! — My son, who is competent, tried to update my blog, which is a K2 theme, from WP 2.0.7 to 2.2.1 and it had error messages at the top — so he tried to go back to my 2.0.7 version. In trying to go back to 2.0.7 my sidebar disappeared, as did the “K2 Sidebar Modules” tab under “Presentation”. What do I do?

  9. 9 Steven

    Hi Steve,

    I have a question/request… is there a way to use the plugin with multiple Picasa accounts as the source?

    Would be nice to be able to create placeholder pages where you see the albums of all the defined Picasa accounts or from just a particular defined Picasa account.

    Suggestion for the tag: – for all the albums use <!—picasa-albums—> or <!—picasa-albums=all—> – and for the albums of a particular Picasa account <!—picasa-albums=accountname—>

    Hope you have an idea on how this can be implemented into you’r allready awesome plugin ;)

    Cheers.

    Steven

  10. 10 Cliff

    Your Picasa Albums plugin is great! Thanks for sharing it. I’ve been playing around with it to see if I could get higher resolution images on the individual album pages, but I don’t really know what I’m doing and I’ve not been successful. Is there some variable I could change somewhere that would allow for this? The thumbnails look clear at the smallest size, but anything bigger and they begin to get fuzzier and fuzzier. I’m sure this makes for faster loading pages, but would love to know how I might increase the resolution a little if possible. Thanks again.

  11. 11 Nokao

    Thank you, that was just what I was searching for!

    It’s great!

    It misses just two things, to be perfect:
    1) A check to load video streams, so the plugin don’t try to opens a video stream with lightbox but links webpicasa or something else (maybe a flash-like-youtube-loader is possible?).

    2) A way to show images bigger than 800…. I know it’s a lot but some photos can be ruined by small dimensions…

    Thank you anyway, and write me for updates!

  12. 12 Nokao

    Ah, to help you to improve your plugin I report a W3C validation error:
    http://validator.w3.org/check?uri=http%3A%2F%2Fblog.nokao.it%2F&amp;charset=iso-8859-1&amp;doctype=Inline

    As you see, the problem is the multiple use of the “ID” properity.
    I saw that you did that cause there is already a class into that object…
    That makes all so complicated to improve, but, a way should exist to do it!

    If only I had more time… I would have do it that for you!

    Another thing I did (manually) on my website is a Gallery menu using the ul-li tags, that can be done by your plugin too and included into the sidebar with a picasa_plugin_menu() function!

    You find the menu example on the website, on the right (into the main menu).

  13. 13 Nokao

    Sorry: wordpress fuked up the link…

    I made a screenshot of it:
    http://www.nokao.it/files/error.jpg

    That have not “amps” and should work…

  14. 14 steveo

    Nokao: Unfortunately the max image size allowed to be embedded by Google is 800 pixels. I’ll make a check to only include images in the albums. Thanks.

  15. 15 Josh

    Hi steve, I love this plugin (almost as much as I love true blue), but I’m stumped on what I am doing wrong.

    This is the page it should be working on:
    http://joshsands.com/?page_id=69

    If you click you will see two error messages, but I unfortunately don’t know what they mean or how to fix them. The errors are:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /www/110mb.com/s/a/n/d/m/a/n/3/sandman32/htdocs/wp-content/plugins/picasa-albums.php on line 242

    Warning: file_get_contents(http://picasaweb.google.com/data/feed/api/user/jsandman32?kind=album) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/s/a/n/d/m/a/n/3/sandman32/htdocs/wp-content/plugins/picasa-albums.php on line 242

    Do you know what I might be doing wrong? Thank you again for another great tool.

  16. 16 Doug

    http://www.dpsef.org/gallery

    This plugin would be a dream come true if I could only get it working. It appears to be having trouble parsing the feed. Any ideas?

    $rss returns a empty array.

    Thanks for any help,

  17. 17 Alex

    Hi Steve,
    your plugin is great. At the moment you can only link to a whole album. Isn’t it possible to create links directly to a photo, that appears with lightbox with prev/next-navigation? This feature would be really cool!

  18. 18 jl

    i’m afraid i’m a little lost…

    where am i supposed to include the tag <!—picasa-albums—> ???

    I’ve tried including in into a WordPress page and that doesn’t work…

  19. 19 i.am.Ben

    How can I insert a certain album?

  20. 20 Nokao

    Hi… Great plugin:
    but I saw a lightbox version in http://www.badoo.com that is able to read also multimedia (films).

    Is it usable for google picasa?

    Also I’d like to use better version of lightbox, can I use every kind of ?

  21. 21 Nokao

    Hi… you never answered my suggestions, however, I want to write you some improvements I HAD to do to your plugin to use it with my new hosting/theme.

    For the hosting (godaddy) I changed the file_get_contents (removed function) in that way:
    //$contents = file_get_contents($loc); &lt;- OLD CODE
    $ch = curl_init();
    $timeout = 5;
    curl_setopt ($ch, CURLOPT_URL, $loc);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $contents = curl_exec($ch);
    curl_close($ch);

    For the theme, the thumbnails in the .thumb css class was floating around the website due to the “clear:both” option.
    I changed it in this way:
    #picasa-albums .thumb {
    margin: 5px;
    display: inline;
    float: left;
    text-align: center;
    }

    Bye bye
    I’m posting with my real e-mail if you want to write me back.

  22. 22 Tim

    I have the same problem as a previous commenter.

    “Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /www/110mb.com/s/a/n/d/m/a/n/3/sandman32/htdocs/wp-content/plugins/picasa-albums.php on line 242

    Warning: file_get_contents(http://picasaweb.google.com/data/feed/api/user/jsandman32?kind=album) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/s/a/n/d/m/a/n/3/sandman32/htdocs/wp-content/plugins/picasa-albums.php on line 242”

    Any fix?

  23. 23 Josh

    Hi Tim, you posted on my site about this plugin. I ended up getting it working like Nokao did. I had to use curl instead of file_get_contents

    Some hosts allow file_get_contents some allow curl and some allow none of the above. I hope you can get it to work for you.

  24. 24 Klaus

    Hi Steve!

    found Your plugin more or less by accident ;)

    Great job! Small and nearly exact what I was looking for. I added a small modification (input for the picasa server-address). If someone will find it usable he can download it at http://www.hillebrands.org/wp/2007/10/23/picasa-gallery-plugin/

    Cya
    Klaus

  25. 25 Martin

    Super! Thats what I was searching for!!!!

  26. 26 Michael Workman

    I am trying to use your plug-in From all i can see..it is installed properly…but… when i put in the tag <!—picasa-albums—> in a post …nothing happens. Am i putting in the right format?... i know usually they are in the form of [plugin]some parms [/plugin]
    Thanks in advance

  27. 27 yanjiecao

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.furgood/pa0331/yanjiecao.com/wp-content/plugins/picasa-albums.php on line 242

    Warning: file_get_contents(http://picasaweb.google.com/data/feed/api/user/yanjiecao?kind=album) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/.furgood/pa0331/yanjiecao.com/wp-content/plugins/picasa-albums.php on line 242

    Why? use id I write” yanjiecao”
    picasaweb.googel.com/yanjiecao

  28. 28 Joerg

    Very nice extension:
    I have improved (?) your extension for selecting certain
    albums from a picasa account.
    Look here
    http://joerg.ehrsam.de/2008/04/02/einbinden-von-picasa-albums-in-wordpress/

  1. 1 Photo Album at Bloog.com
  2. 2 kobak pont org » links for 2007-05-27
  3. 3 kobak pont org » plugin karnevál nevezésem
  4. 4 Photography: Web Gallery @ Nokao’s Blog
  5. 5 Perfect Stranger’s » Blog Archiv » Picasa Gallery plugin
  6. 6 你还有别的选择吗? at Sigar is living
  7. 7 Carpe diem et noctem! » Wordpress-Plugin zur Integration von Picasa Web
  8. 8 Picasa Albums plugin 0.1 · webblog

Leave a Reply