Skip to content

Integrate Picasa Web Albums into ExpressionEngine website

20 Dec 2010

Integrate Picasa Web Albums into ExpressionEngine website

EE-Picasa plugin enables you to integrate Picasa Web Albums within ExressionEngine website. You can easily embed your complete Picasa gallery, album or certain picture in EE

The plugin is available both for EE1 and EE2.

Note this is the Lite version, which is feature limited. The PRO version, which is more feature-rich, includes more parameters and tags (image collections, tags, displaying and posting of comments, creating new and updating existing pictures and albums) is coming soon.

Download

Comments

  1. Steve Coffee
    Steve Coffee 06 Mar 2011

    Is there any documentation for this product (ee picasa)? The README seems to suggest that this is a tool for developers, not mortals.

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 07 Mar 2011

      Steve, when you install plugin, you can see the docs on plugin’s page in Control Panel together with usage examples.

  2. Vlad
    Vlad 22 Apr 2011

    Yuri,
    I am a bit confused. I installed the plugin and used the code directly from the example
    { exp:ee_picasa:album username="{segment_3}” albumid=”{segment_4}”}
    {if '{count}’==‘1’}

    {album_title}

    {album_summary}
    {/if}


    <div>{title}
    {description}</div>

    {/exp:ee_picasa:album}


    username=”{segment_3}” albumid=”{segment_4}”
    (I am using this gallery as an example because the code seems straight forward, the clients gallery code is far more confusing.)
    https://picasaweb.google.com/vlad.ilin/BrooklynApt#
    I replaced {segment_3} with vlad.ilin and {segment_4} with BrooklynApt and got no results.
    Please let me know what I am missing here.
    Thank you,
    Vlad

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 22 Apr 2011

      Vlad,
      albumid is the ID of album, it’s not the ‘url title’ that gets displayed in Picasa URL. Use { exp:ee_picasa:gallery} call to find it.

  3. Vlad
    Vlad 25 Apr 2011

    You know, I tried this

    { exp:ee_picasa:gallery username="vlad.ilin"}


    <div>{title}</div>

    {/exp:ee_picasa:gallery}

    { exp:ee_picasa:gallery username="vladilin"}


    <div>{title}</div>

    {/exp:ee_picasa:gallery}

    This is pretty much as simple as it gets. Google doesn’t care about the . so i tried one with, and one without.
    I even managed to scrape the gallery ID from the plugin tag. It’s not going well for me, am I just retarded?
    Thanks!

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 25 Apr 2011

      Vlad, I tried your code and it works smile
      Have no idea why it does not work for you. Try creating a blank template and put nothing but this code in there. You may also try using single quotes instead of double quotes (though it should not make any difference)

  4. Vlad
    Vlad 27 Apr 2011

    That is the odd thing, I did just that.
    I reinstalled the software just in case something got messed up when I was uploading it.
    I created a new page and posted nothing but that code snippet.
    It shows an broken image.
    I changed the quotes to single type and tried several versions of my screen name. The rest of the site and the other plugins like image re-sizer work fine so I am not sure.
    Are there any EE settings, or server stuff that needs to be there in order for this to work?

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 27 Apr 2011

      Is the plugin showing itself in plugins section of Control Panel?
      Are you using EE2 or EE1 version? I have tested it on 2.1.1, 2.1.4 and 1.6.9
      Note that PHP is required for Pisasa library to work correctly - so that could be the issue.

  5. vlad
    vlad 02 May 2011

    Hmmm I am using 2.1.3
    I found this PHP code:
    <?php
      $userid = ‘112293392000092116376’;
      $album = ‘{album_name}’;   
        $feedURL = “http://picasaweb.google.com/data/feed/api/user/$userid/album/$album?imgmax=800”;
      $sxml = simplexml_load_file($feedURL);
    ?>
    It’s not exactly what I wanted but if I enter the right gallery name into my cms it works.
    Because this code is showing me the galleries, so I can safely assume that php is working. I solved the issue for the time being. Thanks for all your help, I wish that I could have used your tool, but sometimes things just don’t work, maybe it’s the server…
    Thank you
    V

    capcha: reality setompar

  6. NickT
    NickT 03 Jul 2011

    At the moment iam using ExpressionEngine 1.6.9, and when i uploaded the files to my Plugin Folder i got the following message:
    No direct script access allowed
    What am i doing wrong?
    Regards,
    Nick

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 03 Jul 2011

      What is the code you’re using?

      • NickT
        NickT 03 Jul 2011

        What is the code you’re using?

        Well at the moment i just uploaded the following files:
        pi.ee_picasa.php
        ee_picasa (Folder)
        to the plugin folder of my EE installation, “assuming this is the proper way to install this plugin”.

        After that i tried to open the Plugin manager to check the the doc’s and i got the, No direct script acces allowed, message/page.

        Regards,
        Nick

        • Yuri Salimovskiy's avatar
          Yuri Salimovskiy 03 Jul 2011

          That’s quite strange. Are the other plugins working normally - or this is the only plugin you have?

  7. NickT
    NickT 04 Jul 2011

    Pretty wierd huh, and nope, ive got a few more plugins installed like imgsizer.

    Maybe i should try a clean install or something like that, thanks for the replies tough : )

  8. Paul Frost
    Paul Frost 26 Jul 2011

    I’m getting the same problem as NickT.
    “No direct script access allowed”
    when I try and open the plugins page in the control panel.
    ExpressionEngine 1.7.1 Build:  20110520, PHP Version 5.2.9.

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 26 Jul 2011

      try replacing BASEPATH on line 22 with EXT

  9. Paul Frost
    Paul Frost 27 Jul 2011

    That fixed it, but new problem.
    I can’t get anything from {album_summary} within the album tag, it returns empty.
    But {summary} works within the gallery tag.
    Any news on the Pro version?

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 27 Jul 2011

      Could it be that {album_summary} is really empty?
      The release date of Pro version is unknown - I just don’t get enough requests for it. I think I should remove it’s mentioning at all smile

      • Paul Frost
        Paul Frost 27 Jul 2011

        Could it be that {album_summary} is really empty?

        No, the same gallery in Gallery view shows it, but when you click through for the images contained it doesn’t show.
        I’ve been trying Picasa to see if it’s an alternative to Flickr, as I hate having to have a Yahoo account to get it, and I’ve got loads of Google accounts. But I am finding it a bit lacking, but some of that is because there is such limited third party support.

        • Yuri Salimovskiy's avatar
          Yuri Salimovskiy 28 Jul 2011

          It is possible that Picasa has changed the way it gives out the data. Or there might be some other reason - sorry, don’t have time to investigate the issue now.

  10. Matteo
    Matteo 27 Aug 2011

    Is there something wrong with the download link? It takes me back to this page.

    • Yuri Salimovskiy's avatar
      Yuri Salimovskiy 28 Aug 2011

      Thanks for pointing - link fixed now!

About

    Hello, my name is Yuri and I specialize in creating custom add-ons (plugins, modules, extensions) for ExpressionEngine CMS.
    You can reach me anytime by emailing .(JavaScript must be enabled to view this email address)