Picasa Photo Album Extenstion

Feb 8, 2009 at 7:25 PM
Just finished off a Picasa Photo Extension


How it works

First the extension will use the admin email address and then add all the newletter e-mail address to a user list, then check with Picasa to see if they have an account.  The extension then has a list of user with valid Picasa Albums.

When you open an article the extension will go over all the Tags and see if any of the Picasa Albums in your user list has the same tags, if it does then the photos will be added to the article.

I do Cache the objects, so once the initial load of the article has taken place it is stored in Cache, as it can take some time to compile the list of photos depending how many active user Picasa Albums you have.

One enhancement I would like to include is for the loading of the photos to happen behind the scenes and show a wait icon while the extension goes and gets the photos from Picasa.  But I'm not sure how to do this in an Extension, if you know please let me know too.

I've got it working on my Village Website

http://www.bromham.org.uk/

Mar 11, 2009 at 6:33 PM
I tried your script on the latest version of BE and it gave me this error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0246: The type or namespace name 'Google' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 6:  using System.IO;Line 7:  using System.Xml;Line 8:  using Google.GData.Photos;Line 9:  using System.Text;Line 10: using System.Web.Caching;

Source File: s:\htdocs\blog\App_Code\Extensions\Picture.cs    Line: 8 

Mar 12, 2009 at 2:38 AM
i don't know details or setup process of the extension but it is look like simply warning about you didn't add google's related dll's in your bin folder, isn't it?
if that so dll's can be download from http://code.google.com/p/google-gdata/downloads/list

regards,